From 5c2630cd1b38b1e8e7252a4549898b877f1bb9ba Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Mon, 10 Sep 2018 05:56:59 -0400 Subject: [PATCH] 8muses ripper now gets full sized images --- .../com/rarchives/ripme/ripper/rippers/EightmusesRipper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/EightmusesRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/EightmusesRipper.java index 35ee4218..d97f5947 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/EightmusesRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/EightmusesRipper.java @@ -123,7 +123,7 @@ public class EightmusesRipper extends AbstractHTMLRipper { JSONObject json = new JSONObject(rawJson); try { for (int i = 0; i != json.getJSONArray("pictures").length(); i++) { - image = "https://www.8muses.com/image/fm/" + json.getJSONArray("pictures").getJSONObject(i).getString("publicUri"); + image = "https://www.8muses.com/image/fl/" + json.getJSONArray("pictures").getJSONObject(i).getString("publicUri"); URL imageUrl = new URL(image); if (Utils.getConfigBoolean("8muses.use_short_names", false)) { addURLToDownload(imageUrl, getPrefixShort(x), getSubdir(page.select("title").text()), this.url.toExternalForm(), cookies, "", null, true); @@ -155,7 +155,7 @@ public class EightmusesRipper extends AbstractHTMLRipper { LOGGER.info("Getting full sized image from " + imageUrl); Document doc = new Http(imageUrl).get(); // Retrieve the webpage of the image URL String imageName = doc.select("div.photo > a > img").attr("src"); - return "https://www.8muses.com/image/fm/" + imageName; + return "https://www.8muses.com/image/fl/" + imageName; } private String getTitle(String albumTitle) {