1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-16 02:44:10 +02:00

Imgbox ripper now downloads full sized images when downloading from galleries

This commit is contained in:
cyian-1756
2017-11-03 21:41:21 -04:00
parent 8e8163360a
commit c6057b1409

View File

@@ -50,6 +50,7 @@ public class ImgboxRipper extends AbstractHTMLRipper {
for (Element thumb : doc.select("div.boxed-content > a > img")) { for (Element thumb : doc.select("div.boxed-content > a > img")) {
String image = thumb.attr("src").replaceAll("thumbs", "images"); String image = thumb.attr("src").replaceAll("thumbs", "images");
image = image.replace("_b", "_o"); image = image.replace("_b", "_o");
image = image.replaceAll("\\d-s", "i");
imageURLs.add(image); imageURLs.add(image);
} }
return imageURLs; return imageURLs;