From 5f90a1792e268d795e6f61aca8b97eada88461cb Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Fri, 1 Jun 2018 18:41:19 -0400 Subject: [PATCH] Fixed TheyiffgalleryRipper --- .../rarchives/ripme/ripper/rippers/TheyiffgalleryRipper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/TheyiffgalleryRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/TheyiffgalleryRipper.java index 9bdbfec6..ac3e363c 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/TheyiffgalleryRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/TheyiffgalleryRipper.java @@ -59,8 +59,8 @@ public class TheyiffgalleryRipper extends AbstractHTMLRipper { @Override public List getURLsFromPage(Document doc) { List result = new ArrayList<>(); - for (Element el : doc.select("ul.thumbnails > li.gdthumb")) { - String imageSource = el.select("a > img").attr("src"); + for (Element el : doc.select("img.thumbnail")) { + String imageSource = el.attr("src"); imageSource = imageSource.replaceAll("_data/i", ""); imageSource = imageSource.replaceAll("-\\w\\w_\\w\\d+x\\d+", ""); result.add("https://theyiffgallery.com" + imageSource);