1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-22 21:43:06 +02:00

Pawoo no longer has a custom theme

This commit is contained in:
jeff-up
2020-09-10 19:47:15 -05:00
parent f639758a74
commit 5785b91de3

View File

@@ -23,16 +23,4 @@ public class PawooRipper extends MastodonRipper {
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();
}
}