EroCool: fix search pagination (#9545)
This commit is contained in:
parent
3e922f4101
commit
9e6aee7aa4
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'EroCool'
|
||||
pkgNameSuffix = 'all.erocool'
|
||||
extClass = '.EroCoolFactory'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ class EroCool(
|
|||
|
||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList) =
|
||||
if (query.isBlank()) popularMangaRequest(page)
|
||||
else GET("$baseUrl/search/q_$query $langName", headers)
|
||||
else GET("$baseUrl/search/q_$query $langName/page/$page", headers)
|
||||
|
||||
override fun searchMangaFromElement(element: Element) = element.toManga()
|
||||
|
||||
|
|
Loading…
Reference in New Issue