Fix cannot open chapter after searching (#5465)
Co-authored-by: Yanuar Singgih Saputra <yanuar@xqinformatics.com>
This commit is contained in:
parent
0ba4b853ac
commit
f82dffc51f
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Komiku'
|
extName = 'Komiku'
|
||||||
pkgNameSuffix = 'id.komiku'
|
pkgNameSuffix = 'id.komiku'
|
||||||
extClass = '.Komiku'
|
extClass = '.Komiku'
|
||||||
extVersionCode = 7
|
extVersionCode = 8
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ class Komiku : ParsedHttpSource() {
|
||||||
override fun searchMangaSelector() = popularMangaSelector()
|
override fun searchMangaSelector() = popularMangaSelector()
|
||||||
|
|
||||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
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 ->
|
(if (filters.isEmpty()) getFilterList() else filters).forEach { filter ->
|
||||||
when (filter) {
|
when (filter) {
|
||||||
is CategoryNames -> {
|
is CategoryNames -> {
|
||||||
|
|
Loading…
Reference in New Issue