From 2ea2bee74ac87cca65ac70f41bf97e6041a7c08a Mon Sep 17 00:00:00 2001 From: MetaPrime Date: Tue, 27 Dec 2016 23:08:16 -0600 Subject: [PATCH] Fix #401: Imgbox: correctly convert thumbnail urls to full-size urls. --- .../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 0f8c36fa..d8804d61 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java @@ -49,7 +49,7 @@ public class ImgboxRipper extends AbstractHTMLRipper { List imageURLs = new ArrayList(); for (Element thumb : doc.select("div.boxed-content > a > img")) { String image = thumb.attr("src") - .replaceAll("[a-zA-Z0-9.]+s.imgbox.com", + .replaceAll("[-a-zA-Z0-9.]+s.imgbox.com", "i.imgbox.com"); imageURLs.add(image); }