hentai2read can now get the album thumbnail link again

This commit is contained in:
cyian-1756 2018-05-16 04:55:36 -04:00
parent 34425361ae
commit 694dc3fe5b

View File

@ -48,7 +48,7 @@ public class Hentai2readRipper extends AbstractHTMLRipper {
Document tempDoc; Document tempDoc;
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
String thumbnailLink = tempDoc.select("a[data-original-title=Thumbnails").attr("href"); String thumbnailLink = tempDoc.select("div.col-xs-12 > div.reader-controls > div.controls-block > button > a").attr("href");
return Http.url(thumbnailLink).get(); return Http.url(thumbnailLink).get();
} catch (IOException e) { } catch (IOException e) {
throw new IOException("Unable to get first page"); throw new IOException("Unable to get first page");