Fix downloads from mangahere (#997)
This commit is contained in:
parent
74fd70416f
commit
f2a06eab37
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,7 @@ class Mangahere : ParsedHttpSource() {
|
|||
|
||||
val pages = mutableListOf<Page>()
|
||||
document.select("select.wid60").first()?.getElementsByTag("option")?.forEach {
|
||||
pages.add(Page(pages.size, it.attr("value")))
|
||||
pages.add(Page(pages.size, "http:" + it.attr("value")))
|
||||
}
|
||||
pages.getOrNull(0)?.imageUrl = imageUrlParse(document)
|
||||
return pages
|
||||
|
@ -174,6 +174,7 @@ class Mangahere : ParsedHttpSource() {
|
|||
private class OrderBy : Filter.Sort("Order by",
|
||||
arrayOf("Series name", "Rating", "Views", "Total chapters", "Last chapter"),
|
||||
Filter.Sort.Selection(2, false))
|
||||
|
||||
private class GenreList(genres: List<Genre>) : Filter.Group<Genre>("Genres", genres)
|
||||
|
||||
override fun getFilterList() = FilterList(
|
||||
|
|
Reference in a new issue