mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-14 01:44:12 +02:00
Merge pull request #101 from cyian-1756/myhentaicomics
Myhentaicomics ripper no longer tries to download ads
This commit is contained in:
@@ -241,7 +241,7 @@ public class MyhentaicomicsRipper extends AbstractHTMLRipper {
|
||||
for (Element el : doc.select("img")) {
|
||||
String imageSource = el.attr("src");
|
||||
// This bool is here so we don't try and download the site logo
|
||||
if (!imageSource.startsWith("http://")) {
|
||||
if (!imageSource.startsWith("http://") && !imageSource.startsWith("https://")) {
|
||||
// We replace thumbs with resizes so we can the full sized images
|
||||
imageSource = imageSource.replace("thumbs", "resizes");
|
||||
result.add("http://myhentaicomics.com/" + imageSource);
|
||||
|
Reference in New Issue
Block a user