Fixed hentai2read ripper for real this time
This commit is contained in:
parent
afdff0ebc4
commit
59d3115970
@ -50,7 +50,7 @@ public class Hentai2readRipper extends AbstractHTMLRipper {
|
|||||||
tempDoc = Http.url(url).get();
|
tempDoc = Http.url(url).get();
|
||||||
// Get the thumbnail page so we can rip all images without loading every page in the comic
|
// Get the thumbnail page so we can rip all images without loading every page in the comic
|
||||||
thumbnailLink = tempDoc.select("div.col-xs-12 > div.reader-controls > div.controls-block > button > a").attr("href");
|
thumbnailLink = tempDoc.select("div.col-xs-12 > div.reader-controls > div.controls-block > button > a").attr("href");
|
||||||
if (thumbnailLink != null) {
|
if (!thumbnailLink.equals("")) {
|
||||||
return Http.url(thumbnailLink).get();
|
return Http.url(thumbnailLink).get();
|
||||||
} else {
|
} else {
|
||||||
return Http.url(tempDoc.select("a[data-original-title=Thumbnails").attr("href")).get();
|
return Http.url(tempDoc.select("a[data-original-title=Thumbnails").attr("href")).get();
|
||||||
|
Loading…
Reference in New Issue
Block a user