From c8e8139cf617a646f8a3d529913b69f5a8948d32 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Fri, 6 Jul 2018 02:11:43 -0400 Subject: [PATCH] fixed HitomiRipper --- .../java/com/rarchives/ripme/ripper/rippers/HitomiRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/HitomiRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/HitomiRipper.java index c5f0bbd4..53389a21 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/HitomiRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/HitomiRipper.java @@ -47,7 +47,7 @@ public class HitomiRipper extends AbstractHTMLRipper { @Override public Document getFirstPage() throws IOException { // if we go to /GALLERYID.js we get a nice json array of all images in the gallery - return Http.url(new URL(url.toExternalForm().replaceAll(".html", ".js"))).ignoreContentType().get(); + return Http.url(new URL(url.toExternalForm().replaceAll("hitomi", "ltn.hitomi").replaceAll(".html", ".js"))).ignoreContentType().get(); }