Skip to content

Commit

Permalink
Merge pull request #1884 from ripjvs/Fix_WordpressComic
Browse files Browse the repository at this point in the history
Fix WordpressComic
  • Loading branch information
cyian-1756 authored Jan 18, 2022
2 parents 05a99f3 + bffc886 commit 4aec463
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,15 +376,15 @@ public List<String> getURLsFromPage(Document doc) {
// freeadultcomix gets it own if because it needs to add http://freeadultcomix.com to the start of each link
// TODO review the above comment which no longer applies -- see if there's a refactoring we should do here.
if (url.toExternalForm().contains("freeadultcomix.com")) {
for (Element elem : doc.select("div.single-post > p > img.aligncenter")) {
for (Element elem : doc.select("div.post-texto > p > noscript > img[class*=aligncenter]")) {
result.add(elem.attr("src"));
}
} else if (url.toExternalForm().contains("comics-xxx.com")) {
for (Element elem : doc.select("div.single-post > center > p > img")) {
result.add(elem.attr("src"));
}
} else if (url.toExternalForm().contains("shipinbottle.pepsaga.com")) {
for (Element elem : doc.select("div#comic > div.comicpane > a > img")) {
for (Element elem : doc.select("div#comic > a > img")) {
result.add(elem.attr("src"));
}
} else if (url.toExternalForm().contains("8muses.download")) {
Expand Down

0 comments on commit 4aec463

Please sign in to comment.