SankakuComplexRipper now downloads full sized images (#328)
This commit is contained in:
parent
94f66d3efe
commit
57a53688e4
@ -74,7 +74,7 @@ public class SankakuComplexRipper extends AbstractHTMLRipper {
|
|||||||
// Get the page the full sized image is on
|
// Get the page the full sized image is on
|
||||||
Document subPage = Http.url("https://chan.sankakucomplex.com" + postLink).get();
|
Document subPage = Http.url("https://chan.sankakucomplex.com" + postLink).get();
|
||||||
logger.info("Checking page " + "https://chan.sankakucomplex.com" + postLink);
|
logger.info("Checking page " + "https://chan.sankakucomplex.com" + postLink);
|
||||||
imageURLs.add("https:" + subPage.select("div[id=post-content] > a > img").attr("src"));
|
imageURLs.add("https:" + subPage.select("div[id=stats] > ul > li > a[id=highres]").attr("href"));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
logger.warn("Error while loading page " + postLink, e);
|
logger.warn("Error while loading page " + postLink, e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user