From 48345af6b4c5ec72469ff84c8550d25b2e6d4b7e Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sun, 19 Mar 2017 18:31:17 -0400 Subject: [PATCH] fur affinity ripper can now save description --- .../com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java index 5311cfe3..9dfbc7a5 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java @@ -157,7 +157,7 @@ public class FuraffinityRipper extends AbstractHTMLRipper { ele.select("p").prepend("\\n\\n"); logger.debug("Returning description at " + page); String tempPage = Jsoup.clean(ele.html().replaceAll("\\\\n", System.getProperty("line.separator")), "", Whitelist.none(), new Document.OutputSettings().prettyPrint(false)); - Elements titles = documentz.select("td[class=\"cat\"][valign=\"top\"] > b"); + Elements titles = documentz.select("meta[property=og:title]"); if (titles.size() == 0) { throw new IOException("No title found"); }