From a29c964fbcaf9b1b66a19e2f18b81abc7483b7b6 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sun, 29 Oct 2017 12:05:11 -0400 Subject: [PATCH] Fixed imgbox ripper --- .../java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java index be176e24..89b4d96d 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java @@ -48,7 +48,7 @@ public class ImgboxRipper extends AbstractHTMLRipper { public List getURLsFromPage(Document doc) { List imageURLs = new ArrayList<>(); for (Element thumb : doc.select("div.boxed-content > a > img")) { - String image = thumb.attr("src").replaceAll("thumbs.imgbox.com", "images.imgbox.com"); + String image = thumb.attr("src").replaceAll("thumbs", "images"); image = image.replace("_b", "_o"); imageURLs.add(image); }