fixed HitomiRipper
This commit is contained in:
parent
9a29448e73
commit
c8e8139cf6
@ -47,7 +47,7 @@ public class HitomiRipper extends AbstractHTMLRipper {
|
|||||||
@Override
|
@Override
|
||||||
public Document getFirstPage() throws IOException {
|
public Document getFirstPage() throws IOException {
|
||||||
// if we go to /GALLERYID.js we get a nice json array of all images in the gallery
|
// 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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user