Skip to content

Commit

Permalink
Merge pull request RipMeApp#1743 from xSnowx34/master
Browse files Browse the repository at this point in the history
Pawoo no longer has a custom theme
  • Loading branch information
cyian-1756 committed Oct 29, 2020
2 parents 0ac63c1 + 5785b91 commit 73c9feb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main/java/com/rarchives/ripme/ripper/rippers/PawooRipper.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,4 @@ public String getDomain() {
return "pawoo.net";
}


@Override
// Pawoo uses a custom theme that has different navigation links
public Document getNextPage(Document doc) throws IOException {
Elements hrefs = doc.select(".pagination a[rel=\"next\"]");
if (hrefs.isEmpty()) {
throw new IOException("No more pages");
}
String nextUrl = hrefs.last().attr("href");
sleep(500);
return Http.url(nextUrl).get();
}
}

0 comments on commit 73c9feb

Please sign in to comment.