1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-28 08:10:11 +02:00

fixed HitomiRipper

This commit is contained in:
cyian-1756
2018-07-06 02:11:43 -04:00
parent 9a29448e73
commit c8e8139cf6

View File

@@ -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();
}