1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-09 07:16:45 +02:00

Fix WordpressComicRipper's ripper for freeadultcomix.com (#270)

This commit is contained in:
metaprime
2017-11-21 12:46:58 -08:00
committed by GitHub
parent ab600e1fa8
commit f630123a6e

View File

@@ -275,9 +275,10 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
} }
// freeadultcomix gets it own if because it needs to add http://freeadultcomix.com to the start of each link // 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")) { if (url.toExternalForm().contains("freeadultcomix.com")) {
for (Element elem : doc.select("div.single-post > p > img.aligncenter")) { for (Element elem : doc.select("div.single-post > p > img.aligncenter")) {
result.add("http://freeadultcomix.com" + elem.attr("src")); result.add(elem.attr("src"));
} }
} }