From 2e01d63841f7ec8759407c10c2e417f83b76202f Mon Sep 17 00:00:00 2001 From: 4pr0n Date: Sat, 10 Jan 2015 15:41:41 -0800 Subject: [PATCH] Fix pagination on Cheeby ripper Closes #153 --- .../java/com/rarchives/ripme/ripper/rippers/CheebyRipper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/CheebyRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/CheebyRipper.java index c9e18454..efe5920a 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/CheebyRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/CheebyRipper.java @@ -56,8 +56,8 @@ public class CheebyRipper extends AbstractHTMLRipper { @Override public Document getNextPage(Document doc) throws IOException { sleep(500); - offset += 10; - String url = this.url + "?limit=10&offset=" + offset; + offset += 1; + String url = this.url + "?p=" + offset; Document nextDoc = Http.url(url).get(); if (nextDoc.select("div.i a img").size() == 0) { throw new IOException("No more images to fetch");