From 8237841df43782474a64ee142a3ff394627ca258 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sun, 25 Mar 2018 01:56:07 -0400 Subject: [PATCH] Fixed eroshae ripper --- .../rarchives/ripme/ripper/rippers/EroShareRipper.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/EroShareRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/EroShareRipper.java index 30dcfd4f..e7019178 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/EroShareRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/EroShareRipper.java @@ -119,7 +119,7 @@ public class EroShareRipper extends AbstractHTMLRipper { for (Element img : imgs) { if (img.hasClass("album-image")) { String imageURL = img.attr("src"); - imageURL = "https:" + imageURL; + imageURL = imageURL; URLs.add(imageURL); } } @@ -129,7 +129,7 @@ public class EroShareRipper extends AbstractHTMLRipper { if (vid.hasClass("album-video")) { Elements source = vid.getElementsByTag("source"); String videoURL = source.first().attr("src"); - URLs.add("https:" + videoURL); + URLs.add(videoURL); } } // Profile videos @@ -148,7 +148,7 @@ public class EroShareRipper extends AbstractHTMLRipper { if (vid.hasClass("album-video")) { Elements source = vid.getElementsByTag("source"); String videoURL = source.first().attr("src"); - URLs.add("https:" + videoURL); + URLs.add(videoURL); } } } @@ -209,7 +209,6 @@ public class EroShareRipper extends AbstractHTMLRipper { for (Element img : imgs) { if (img.hasClass("album-image")) { String imageURL = img.attr("src"); - imageURL = "https:" + imageURL; URLs.add(new URL(imageURL)); } } @@ -219,7 +218,7 @@ public class EroShareRipper extends AbstractHTMLRipper { if (vid.hasClass("album-video")) { Elements source = vid.getElementsByTag("source"); String videoURL = source.first().attr("src"); - URLs.add(new URL("https:" + videoURL)); + URLs.add(new URL(videoURL)); } }