From 1ef336b1ef79909ae2df781f51adce1c6b1bd65b Mon Sep 17 00:00:00 2001 From: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> Date: Fri, 11 Aug 2023 22:59:34 +0500 Subject: [PATCH] NovelCool: correctly parse api reponse on search (#17463) correctly parse api reponse on search --- src/all/novelcool/build.gradle | 4 ++-- .../eu/kanade/tachiyomi/extension/all/novelcool/NovelCool.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/all/novelcool/build.gradle b/src/all/novelcool/build.gradle index f1afc77b4..92f2e091e 100644 --- a/src/all/novelcool/build.gradle +++ b/src/all/novelcool/build.gradle @@ -6,8 +6,8 @@ ext { extName = 'NovelCool' pkgNameSuffix = 'all.novelcool' extClass = '.NovelCoolFactory' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } -apply from: "$rootDir/common.gradle" \ No newline at end of file +apply from: "$rootDir/common.gradle" diff --git a/src/all/novelcool/src/eu/kanade/tachiyomi/extension/all/novelcool/NovelCool.kt b/src/all/novelcool/src/eu/kanade/tachiyomi/extension/all/novelcool/NovelCool.kt index 69fcf926a..5ae003886 100644 --- a/src/all/novelcool/src/eu/kanade/tachiyomi/extension/all/novelcool/NovelCool.kt +++ b/src/all/novelcool/src/eu/kanade/tachiyomi/extension/all/novelcool/NovelCool.kt @@ -121,7 +121,7 @@ open class NovelCool( return when (preference.useAppApi) { true -> client.newCall(commonApiRequest("$apiUrl/book/search/", page, query)) .asObservableSuccess() - .map(::popularMangaParse) + .map(::commonApiResponseParse) else -> super.fetchSearchManga(page, query, filters) } }