From 3d65f3843008edba22b98bb8895e99d04a643265 Mon Sep 17 00:00:00 2001 From: 4pr0n Date: Thu, 24 Jul 2014 23:09:51 -0700 Subject: [PATCH] 1.0.80 - Fix butttoucher Closes #91 --- pom.xml | 2 +- .../com/rarchives/ripme/ripper/rippers/ButttoucherRipper.java | 2 +- src/main/java/com/rarchives/ripme/ui/UpdateUtils.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index c3298739..bda8f58f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.rarchives.ripme ripme jar - 1.0.79 + 1.0.80 ripme http://rip.rarchives.com diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ButttoucherRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ButttoucherRipper.java index ef78ca17..23e73342 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ButttoucherRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ButttoucherRipper.java @@ -52,7 +52,7 @@ public class ButttoucherRipper extends AbstractHTMLRipper { @Override public List getURLsFromPage(Document page) { List thumbs = new ArrayList(); - for (Element thumb : page.select("div.image-gallery > a > img")) { + for (Element thumb : page.select(".thumb img")) { if (!thumb.hasAttr("src")) { continue; } diff --git a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java index a777e16f..ae5bf9ac 100644 --- a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java +++ b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java @@ -21,7 +21,7 @@ import com.rarchives.ripme.utils.Utils; public class UpdateUtils { private static final Logger logger = Logger.getLogger(UpdateUtils.class); - private static final String DEFAULT_VERSION = "1.0.79"; + private static final String DEFAULT_VERSION = "1.0.80"; private static final String updateJsonURL = "http://rarchives.com/ripme.json"; private static final String updateJarURL = "http://rarchives.com/ripme.jar"; private static final String mainFileName = "ripme.jar";