Fixed imgbox ripper
This commit is contained in:
parent
b41d5ee46f
commit
a29c964fbc
@ -48,7 +48,7 @@ public class ImgboxRipper extends AbstractHTMLRipper {
|
||||
public List<String> getURLsFromPage(Document doc) {
|
||||
List<String> 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user