Mangahub fix search issue (#4801)
only shows result one result (first manga) from each site page
This commit is contained in:
parent
950e2a67eb
commit
be5d4d313a
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Mangahub'
|
extName = 'Mangahub'
|
||||||
pkgNameSuffix = 'en.mangahub'
|
pkgNameSuffix = 'en.mangahub'
|
||||||
extClass = '.Mangahub'
|
extClass = '.Mangahub'
|
||||||
extVersionCode = 6
|
extVersionCode = 7
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -186,7 +186,7 @@ class Mangahub : ParsedHttpSource() {
|
||||||
return GET(url.toString(), headers)
|
return GET(url.toString(), headers)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun searchMangaSelector() = "div#mangalist"
|
override fun searchMangaSelector() = "div#mangalist div.media-manga.media"
|
||||||
|
|
||||||
override fun searchMangaFromElement(element: Element): SManga {
|
override fun searchMangaFromElement(element: Element): SManga {
|
||||||
return popularMangaFromElement(element)
|
return popularMangaFromElement(element)
|
||||||
|
|
Loading…
Reference in New Issue