diff --git a/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt b/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt index 69583d2b5..2ddc265ef 100644 --- a/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt +++ b/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt @@ -54,10 +54,8 @@ class KomikIndoID : ParsedHttpSource() { } override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { - val builtUrl = if (page == 1) "$baseUrl/daftar-komik/" else "$baseUrl/daftar-komik/page/$page/?order=" - val url = builtUrl.toHttpUrlOrNull()!!.newBuilder() - url.addQueryParameter("title", query) - url.addQueryParameter("page", page.toString()) + val url = "$baseUrl/daftar-manga/page/$page/".toHttpUrlOrNull()!!.newBuilder() + .addQueryParameter("title", query) filters.forEach { filter -> when (filter) { is AuthorFilter -> { @@ -87,7 +85,7 @@ class KomikIndoID : ParsedHttpSource() { } } } - return GET(url.build().toString(), headers) + return GET(url.toString(), headers) } override fun mangaDetailsParse(document: Document): SManga { val infoElement = document.select("div.infoanime").first() diff --git a/src/id/komiku/build.gradle b/src/id/komiku/build.gradle index f8562c9bf..2c5120587 100644 --- a/src/id/komiku/build.gradle +++ b/src/id/komiku/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Komiku' pkgNameSuffix = 'id.komiku' extClass = '.Komiku' - extVersionCode = 14 + extVersionCode = 15 } apply from: "$rootDir/common.gradle"