mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-18 11:41:21 +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
|
||||
public List<String> getURLsFromPage(Document doc) {
|
||||
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");
|
||||
result.add(imageSource);
|
||||
}
|
||||
|
Reference in New Issue
Block a user