Changed hentaifoundry file name format
This commit is contained in:
parent
306b7ec9cb
commit
2c0010f9df
@ -94,11 +94,13 @@ public class HentaifoundryRipper extends AbstractHTMLRipper {
|
||||
logger.info("Couldn't find user & image ID in " + thumb.attr("href"));
|
||||
continue;
|
||||
}
|
||||
String[] titleSplit = thumb.attr("herf").split("/");
|
||||
String title = titleSplit[titleSplit.length -1];
|
||||
String user = imgMatcher.group(1),
|
||||
imageId = imgMatcher.group(2);
|
||||
String image = "http://pictures.hentai-foundry.com//";
|
||||
image += user.toLowerCase().charAt(0);
|
||||
image += "/" + user + "/" + imageId + ".jpg";
|
||||
image += "/" + user + "/" + imageId + "/" + user + "-" + imageId + title + ".png";
|
||||
imageURLs.add(image);
|
||||
}
|
||||
return imageURLs;
|
||||
|
Loading…
Reference in New Issue
Block a user