From 57a53688e46e89909dcf83083326ce5a2f57577b Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sun, 10 Dec 2017 21:59:08 -0500 Subject: [PATCH] SankakuComplexRipper now downloads full sized images (#328) --- .../rarchives/ripme/ripper/rippers/SankakuComplexRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/SankakuComplexRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/SankakuComplexRipper.java index f71f525b..c6440bb8 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/SankakuComplexRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/SankakuComplexRipper.java @@ -74,7 +74,7 @@ public class SankakuComplexRipper extends AbstractHTMLRipper { // Get the page the full sized image is on Document subPage = Http.url("https://chan.sankakucomplex.com" + postLink).get(); 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) { logger.warn("Error while loading page " + postLink, e); }