mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-01-29 10:38:14 +01:00
Fix for nhentai changing image URLs
This commit is contained in:
parent
825fd94ced
commit
8b2304d491
@ -126,7 +126,7 @@ public class NhentaiRipper extends AbstractHTMLRipper {
|
||||
List<String> imageURLs = new ArrayList<>();
|
||||
Elements thumbs = page.select("a.gallerythumb > img");
|
||||
for (Element el : thumbs) {
|
||||
imageURLs.add(el.attr("data-src").replaceAll("t\\.n", "i.n").replaceAll("t\\.", "."));
|
||||
imageURLs.add(el.attr("data-src").replaceAll("://t", "://i").replaceAll("t\\.", "."));
|
||||
}
|
||||
return imageURLs;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user