mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-01 11:30:19 +02:00
Fix for nhentai changing image URLs
This commit is contained in:
@@ -126,7 +126,7 @@ public class NhentaiRipper extends AbstractHTMLRipper {
|
|||||||
List<String> imageURLs = new ArrayList<>();
|
List<String> imageURLs = new ArrayList<>();
|
||||||
Elements thumbs = page.select("a.gallerythumb > img");
|
Elements thumbs = page.select("a.gallerythumb > img");
|
||||||
for (Element el : thumbs) {
|
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;
|
return imageURLs;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user