Fix extra (advertisement) page being added in Mangahere. (#122)
This commit is contained in:
parent
a8ec0567a9
commit
c6b1cfc0dc
|
@ -183,8 +183,10 @@ class Mangahere : ParsedHttpSource() {
|
|||
|
||||
val pages = mutableListOf<Page>()
|
||||
document.select("select.wid60").first()?.getElementsByTag("option")?.forEach {
|
||||
if (!it.attr("value").contains("featured.html")) {
|
||||
pages.add(Page(pages.size, "http:" + it.attr("value")))
|
||||
}
|
||||
}
|
||||
pages.getOrNull(0)?.imageUrl = imageUrlParse(document)
|
||||
return pages
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue