mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-01-17 20:58:31 +01:00
Merge break slow tests for early #1886
https://github.com/RipMeApp/ripme/pull/1886
This commit is contained in:
commit
e8fca85891
@ -125,6 +125,9 @@ public class FuraffinityRipper extends AbstractHTMLRipper {
|
||||
urls.add(urlToAdd);
|
||||
}
|
||||
}
|
||||
if (isStopped() || isThisATest()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return urls;
|
||||
}
|
||||
|
@ -84,6 +84,9 @@ public class XhamsterRipper extends AbstractHTMLRipper {
|
||||
LOGGER.info("getting albums");
|
||||
for (Element elem : doc.select("div.item-container > a.item")) {
|
||||
urlsToAddToQueue.add(elem.attr("href"));
|
||||
if (isStopped() || isThisATest()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
LOGGER.info(doc.html());
|
||||
return urlsToAddToQueue;
|
||||
@ -172,6 +175,9 @@ public class XhamsterRipper extends AbstractHTMLRipper {
|
||||
} catch (IOException e) {
|
||||
LOGGER.error("Was unable to load page " + pageWithImageUrl);
|
||||
}
|
||||
if (isStopped() || isThisATest()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// New HTML structure
|
||||
|
Loading…
x
Reference in New Issue
Block a user