Henchan.me - fix search (#919)

Henchan.me - fix search
This commit is contained in:
Pavka 2019-03-17 03:31:10 +03:00 committed by Carlos
parent 99c382becf
commit 96cca393ec
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Henchan'
pkgNameSuffix = 'ru.henchan'
extClass = '.Henchan'
extVersionCode = 2
extVersionCode = 3
libVersion = '1.2'
}

View File

@ -34,7 +34,7 @@ class Henchan : ParsedHttpSource() {
override fun latestUpdatesSelector() = popularMangaSelector()
override fun searchMangaSelector() = ""
override fun searchMangaSelector() = popularMangaSelector()
override fun searchMangaParse(response: Response): MangasPage {
val document = response.asJsoup()
@ -47,7 +47,7 @@ class Henchan : ParsedHttpSource() {
}
}
val hasNextPage = searchMangaNextPageSelector()?.let { selector ->
val hasNextPage = searchMangaNextPageSelector().let { selector ->
document.select(selector).first()
} != null