SankakuComplexRipper now downloads full sized images (#328)

This commit is contained in:
cyian-1756 2017-12-10 21:59:08 -05:00 committed by metaprime
parent 94f66d3efe
commit 57a53688e4

View File

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