From 7e0c565a4d45058ac2b185f6e2eefa3f56823f1e Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Fri, 29 Nov 2024 03:31:26 +0100 Subject: [PATCH] Weeb Central: use correct chapter URL for WebView (#6370) --- src/en/weebcentral/build.gradle | 2 +- .../kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/en/weebcentral/build.gradle b/src/en/weebcentral/build.gradle index da0b6415b..fc686178d 100644 --- a/src/en/weebcentral/build.gradle +++ b/src/en/weebcentral/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Weeb Central' extClass = '.WeebCentral' - extVersionCode = 5 + extVersionCode = 6 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 9c5ff593e..e88b6c3c7 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 @@ -164,6 +164,10 @@ class WeebCentral : ParsedHttpSource() { return GET(newUrl, headers) } + override fun getChapterUrl(chapter: SChapter): String { + return baseUrl + chapter.url + } + override fun pageListParse(document: Document): List { return document.select("section[x-data~=scroll] > img").mapIndexed { index, element -> Page(index, imageUrl = element.attr("abs:src"))