mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-07-31 02:50:15 +02:00
Revert "Hentaifoundry Ripper no longer errors out when there is no next page"
This reverts commit acb6356b94
.
This commit is contained in:
@@ -68,7 +68,8 @@ public class HentaifoundryRipper extends AbstractHTMLRipper {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Document getNextPage(Document doc) throws IOException {
|
public Document getNextPage(Document doc) throws IOException {
|
||||||
if (doc.select("li.next > a").size() == 0) {
|
if (doc.select("li.next.hidden").size() != 0) {
|
||||||
|
// Last page
|
||||||
throw new IOException("No more pages");
|
throw new IOException("No more pages");
|
||||||
}
|
}
|
||||||
Elements els = doc.select("li.next > a");
|
Elements els = doc.select("li.next > a");
|
||||||
|
Reference in New Issue
Block a user