package com.rarchives.ripme.ripper.rippers;

import java.io.IOException;
import java.net.URL;

public class PawooRipper extends MastodonRipper {
    public PawooRipper(URL url) throws IOException {
        super(url);
    }

    @Override
    public String getHost() {
        return "pawoo";
    }

    @Override
    public String getDomain() {
        return "pawoo.net";
    }
}

@@ -88,16 +88,124 @@
 t.URL;%0A%0A
+import com.rarchives.ripme.utils.Http;%0A%0Aimport org.jsoup.nodes.Document;%0Aimport org.jsoup.select.Elements;%0A%0A
 public c
@@ -481,10 +481,441 @@
 ;%0A    %7D%0A
+%0A%0A    @Override%0A    // Pawoo uses a custom theme that has different navigation links%0A    public Document getNextPage(Document doc) throws IOException %7B%0A        Elements hrefs = doc.select(%22.pagination a%5Brel=%5C%22next%5C%22%5D%22);%0A        if (hrefs.isEmpty()) %7B%0A            throw new IOException(%22No more pages%22);%0A        %7D%0A        String nextUrl = hrefs.last().attr(%22href%22);%0A        sleep(500);%0A        return Http.url(nextUrl).get();%0A    %7D%0A
 %7D%0A

Fix Pawoo ripper pagination