1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-20 04:31:55 +02:00

Merge pull request #1743 from xSnowx34/master

Pawoo no longer has a custom theme
This commit is contained in:
cyian-1756
2020-10-29 16:12:14 +00:00
committed by GitHub

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();
}
}