From ea644d769706596f5d5b5becb58e89e9500ec8e5 Mon Sep 17 00:00:00 2001 From: lamaxama <163385206+lamaxama@users.noreply.github.com> Date: Fri, 22 Nov 2024 22:27:21 +0800 Subject: [PATCH] Weeb Central: Fix no pages found for Suwayomi users (#6219) --- src/en/weebcentral/build.gradle | 2 +- .../tachiyomi/extension/en/weebcentral/WeebCentral.kt | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/en/weebcentral/build.gradle b/src/en/weebcentral/build.gradle index d60073e41..da0b6415b 100644 --- a/src/en/weebcentral/build.gradle +++ b/src/en/weebcentral/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Weeb Central' extClass = '.WeebCentral' - extVersionCode = 4 + extVersionCode = 5 isNsfw = true } diff --git a/src/en/weebcentral/src/eu/kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt b/src/en/weebcentral/src/eu/kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt index 26a0eafef..9c5ff593e 100644 --- a/src/en/weebcentral/src/eu/kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt +++ b/src/en/weebcentral/src/eu/kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt @@ -160,10 +160,8 @@ class WeebCentral : ParsedHttpSource() { ?.addQueryParameter("reading_style", "long_strip") ?.build() ?.toString() - ?: chapter.url - - chapter.setUrlWithoutDomain(newUrl) - return super.pageListRequest(chapter) + ?: (baseUrl + chapter.url) + return GET(newUrl, headers) } override fun pageListParse(document: Document): List {