diff --git a/src/id/kiryuu/build.gradle b/src/id/kiryuu/build.gradle index 140b3dd8c..b4e4c5b86 100644 --- a/src/id/kiryuu/build.gradle +++ b/src/id/kiryuu/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Kiryuu' pkgNameSuffix = 'id.kiryuu' extClass = '.Kiryuu' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' } diff --git a/src/id/kiryuu/src/eu/kanade/tachiyomi/extension/id/kiryuu/Kiryuu.kt b/src/id/kiryuu/src/eu/kanade/tachiyomi/extension/id/kiryuu/Kiryuu.kt index a50c41db4..f7bed8b3c 100644 --- a/src/id/kiryuu/src/eu/kanade/tachiyomi/extension/id/kiryuu/Kiryuu.kt +++ b/src/id/kiryuu/src/eu/kanade/tachiyomi/extension/id/kiryuu/Kiryuu.kt @@ -23,15 +23,15 @@ class Kiryuu : ParsedHttpSource() { override val client: OkHttpClient = network.cloudflareClient override fun popularMangaRequest(page: Int): Request { - return GET("$baseUrl/manga/page/$page/?order=popular", headers) + return GET("$baseUrl/manga/?order=popular&page=$page", headers) } override fun latestUpdatesRequest(page: Int): Request { - return GET("$baseUrl/manga/page/$page/?order=latest", headers) + return GET("$baseUrl/manga/?order=update&page=$page", headers) } override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { - val builtUrl = if (page == 1) "$baseUrl/manga/" else "$baseUrl/manga/page/$page/" + val builtUrl = if (page == 1) "$baseUrl/manga/" else "$baseUrl/manga/?page=$page" val url = HttpUrl.parse(builtUrl)!!.newBuilder() url.addQueryParameter("title", query) url.addQueryParameter("page", page.toString()) @@ -84,7 +84,7 @@ class Kiryuu : ParsedHttpSource() { override fun searchMangaFromElement(element: Element): SManga = popularMangaFromElement(element) override fun latestUpdatesFromElement(element: Element): SManga = popularMangaFromElement(element) - override fun popularMangaNextPageSelector() = "a.next.page-numbers" + override fun popularMangaNextPageSelector() = "a.r" override fun latestUpdatesNextPageSelector() = popularMangaNextPageSelector() override fun searchMangaNextPageSelector() = popularMangaNextPageSelector()