diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ManganeloRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ManganeloRipper.java index cabb4188..79e670d1 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ManganeloRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ManganeloRipper.java @@ -99,7 +99,7 @@ public class ManganeloRipper extends AbstractHTMLRipper { Collections.reverse(urlsToGrab); for (String url : urlsToGrab) { - result.addAll(getURLsFromChap(url)); + result.addAll(getURLsFromChap("https:" + url)); } } else if (url.toExternalForm().contains("/chapter/")) { result.addAll(getURLsFromChap(doc)); diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ManganeloRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ManganeloRipperTest.java index ca355a2c..7eb1b8e9 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ManganeloRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/ManganeloRipperTest.java @@ -7,7 +7,13 @@ import com.rarchives.ripme.ripper.rippers.ManganeloRipper; public class ManganeloRipperTest extends RippersTest { public void testRip() throws IOException { - ManganeloRipper ripper = new ManganeloRipper(new URL("http://manganelo.com/manga/black_clover")); + ManganeloRipper ripper = new ManganeloRipper(new URL("https://manganelo.com/manga/demonic_housekeeper")); testRipper(ripper); } + + public void testGetGID() throws IOException { + URL url = new URL("https://manganelo.com/manga/demonic_housekeeper"); + ManganeloRipper ripper = new ManganeloRipper(url); + assertEquals("demonic_housekeeper", ripper.getGID(url)); + } }