Fix cannot open chapter after searching (#5465)

Co-authored-by: Yanuar Singgih Saputra <yanuar@xqinformatics.com>
This commit is contained in:
Yanuar Singgih 2021-01-17 22:21:18 +07:00 committed by GitHub
parent 0ba4b853ac
commit f82dffc51f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Komiku'
pkgNameSuffix = 'id.komiku'
extClass = '.Komiku'
extVersionCode = 7
extVersionCode = 8
libVersion = '1.2'
}

View File

@ -79,7 +79,7 @@ class Komiku : ParsedHttpSource() {
override fun searchMangaSelector() = popularMangaSelector()
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
val url = HttpUrl.parse("$baseUrl/cari/page/$page/")?.newBuilder()!!.addQueryParameter("s", query)
val url = HttpUrl.parse("$baseUrl/pustaka/page/$page/")?.newBuilder()!!.addQueryParameter("s", query)
(if (filters.isEmpty()) getFilterList() else filters).forEach { filter ->
when (filter) {
is CategoryNames -> {