mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 17:59:18 +01:00
Fix #39
This commit is contained in:
parent
111ec5541f
commit
0332d8dd79
@ -228,13 +228,9 @@ public class Mangafox extends Source {
|
|||||||
|
|
||||||
Elements pageUrlElements = parsedDocument.select("select.m").first().select("option:not([value=0])");
|
Elements pageUrlElements = parsedDocument.select("select.m").first().select("option:not([value=0])");
|
||||||
String baseUrl = parsedDocument.select("div#series a").first().attr("href").replace("1.html", "");
|
String baseUrl = parsedDocument.select("div#series a").first().attr("href").replace("1.html", "");
|
||||||
int counter = 1;
|
|
||||||
for (Element pageUrlElement : pageUrlElements) {
|
for (Element pageUrlElement : pageUrlElements) {
|
||||||
if(counter < pageUrlElements.size()) {
|
|
||||||
pageUrlList.add(baseUrl + pageUrlElement.attr("value") + ".html");
|
pageUrlList.add(baseUrl + pageUrlElement.attr("value") + ".html");
|
||||||
}
|
}
|
||||||
counter++;
|
|
||||||
}
|
|
||||||
|
|
||||||
return pageUrlList;
|
return pageUrlList;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user