From 990a60a58e98e2824903387a2d2393637626574a Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sun, 15 Oct 2017 11:56:50 -0400 Subject: [PATCH] Myhentaicomics ripper no longer tries to download ads --- .../rarchives/ripme/ripper/rippers/MyhentaicomicsRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/MyhentaicomicsRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/MyhentaicomicsRipper.java index 10006999..b8ab2c2e 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/MyhentaicomicsRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/MyhentaicomicsRipper.java @@ -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);