mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-13 17:34:13 +02:00
@@ -56,8 +56,8 @@ public class CheebyRipper extends AbstractHTMLRipper {
|
|||||||
@Override
|
@Override
|
||||||
public Document getNextPage(Document doc) throws IOException {
|
public Document getNextPage(Document doc) throws IOException {
|
||||||
sleep(500);
|
sleep(500);
|
||||||
offset += 10;
|
offset += 1;
|
||||||
String url = this.url + "?limit=10&offset=" + offset;
|
String url = this.url + "?p=" + offset;
|
||||||
Document nextDoc = Http.url(url).get();
|
Document nextDoc = Http.url(url).get();
|
||||||
if (nextDoc.select("div.i a img").size() == 0) {
|
if (nextDoc.select("div.i a img").size() == 0) {
|
||||||
throw new IOException("No more images to fetch");
|
throw new IOException("No more images to fetch");
|
||||||
|
Reference in New Issue
Block a user