From 9e6aee7aa495e1e2156e4d9384ad2c00997e961c Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Tue, 19 Oct 2021 20:40:50 +0300 Subject: [PATCH] EroCool: fix search pagination (#9545) --- src/all/erocool/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/all/erocool/EroCool.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/erocool/build.gradle b/src/all/erocool/build.gradle index 4a4726a4d..c3ff6b7bb 100644 --- a/src/all/erocool/build.gradle +++ b/src/all/erocool/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'EroCool' pkgNameSuffix = 'all.erocool' extClass = '.EroCoolFactory' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/all/erocool/src/eu/kanade/tachiyomi/extension/all/erocool/EroCool.kt b/src/all/erocool/src/eu/kanade/tachiyomi/extension/all/erocool/EroCool.kt index b677edb45..72008cee1 100644 --- a/src/all/erocool/src/eu/kanade/tachiyomi/extension/all/erocool/EroCool.kt +++ b/src/all/erocool/src/eu/kanade/tachiyomi/extension/all/erocool/EroCool.kt @@ -46,7 +46,7 @@ class EroCool( override fun searchMangaRequest(page: Int, query: String, filters: FilterList) = if (query.isBlank()) popularMangaRequest(page) - else GET("$baseUrl/search/q_$query $langName", headers) + else GET("$baseUrl/search/q_$query $langName/page/$page", headers) override fun searchMangaFromElement(element: Element) = element.toManga()