1
0
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:
Felix Friebe
2019-11-11 22:44:47 -06:00
parent fbfd412619
commit a2f9a1daa9

View File

@@ -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);
} }