This commit is contained in:
inorichi 2016-01-19 21:07:32 +01:00
parent 111ec5541f
commit 0332d8dd79

View File

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