mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-18 19:51:35 +02:00
Fixed Myreadingmanga Ripper
After testing some links: sometimes the div-tag doesn't have a .separator-class. Also there's sometimes a tag in between the div and img-tag and sometimes not. The CSS-selector was adjusted accordingly.
This commit is contained in:
@@ -50,7 +50,7 @@ public class MyreadingmangaRipper extends AbstractHTMLRipper {
|
|||||||
@Override
|
@Override
|
||||||
public List<String> getURLsFromPage(Document doc) {
|
public List<String> getURLsFromPage(Document doc) {
|
||||||
List<String> result = new ArrayList<>();
|
List<String> result = new ArrayList<>();
|
||||||
for (Element el : doc.select("div.separator > a > img")) {
|
for (Element el : doc.select("div * img[data-lazy-src]")) {
|
||||||
String imageSource = el.attr("data-lazy-src");
|
String imageSource = el.attr("data-lazy-src");
|
||||||
result.add(imageSource);
|
result.add(imageSource);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user