mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 13:20:49 +01:00
Fix #39
This commit is contained in:
parent
111ec5541f
commit
0332d8dd79
1 changed files with 1 additions and 5 deletions
|
@ -228,13 +228,9 @@ public class Mangafox extends Source {
|
|||
|
||||
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", "");
|
||||
int counter = 1;
|
||||
for (Element pageUrlElement : pageUrlElements) {
|
||||
if(counter < pageUrlElements.size()) {
|
||||
pageUrlList.add(baseUrl + pageUrlElement.attr("value") + ".html");
|
||||
}
|
||||
counter++;
|
||||
}
|
||||
|
||||
return pageUrlList;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue