Added uspport for all album types
This commit is contained in:
parent
30adce3b73
commit
edd42d92d7
@ -50,8 +50,12 @@ public class PorncomixDotOneRipper extends AbstractHTMLRipper {
|
||||
@Override
|
||||
public List<String> getURLsFromPage(Document doc) {
|
||||
List<String> result = new ArrayList<>();
|
||||
// We have 2 loops here to cover all the different album types
|
||||
for (Element el : doc.select(".dgwt-jg-gallery > a")) {
|
||||
result.add(el.attr("href"));
|
||||
}
|
||||
for (Element el : doc.select(".unite-gallery > img")) {
|
||||
result.add(el.attr("data-image"));
|
||||
|
||||
}
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user