From e56f0c031a49f196dbf8c433d5eccc596f7301d3 Mon Sep 17 00:00:00 2001 From: Chopper <156493704+choppeh@users.noreply.github.com> Date: Thu, 24 Oct 2024 08:41:19 -0300 Subject: [PATCH] KemonoTheme: Fix chapter URL in Webview (#5662) Fix chapter URL in Webview --- lib-multisrc/kemono/build.gradle.kts | 2 +- .../kemono/src/eu/kanade/tachiyomi/multisrc/kemono/Kemono.kt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib-multisrc/kemono/build.gradle.kts b/lib-multisrc/kemono/build.gradle.kts index f5a077b4b..bbea4c992 100644 --- a/lib-multisrc/kemono/build.gradle.kts +++ b/lib-multisrc/kemono/build.gradle.kts @@ -2,4 +2,4 @@ plugins { id("lib-multisrc") } -baseVersionCode = 13 +baseVersionCode = 14 diff --git a/lib-multisrc/kemono/src/eu/kanade/tachiyomi/multisrc/kemono/Kemono.kt b/lib-multisrc/kemono/src/eu/kanade/tachiyomi/multisrc/kemono/Kemono.kt index cd5cba436..fcc8b0577 100644 --- a/lib-multisrc/kemono/src/eu/kanade/tachiyomi/multisrc/kemono/Kemono.kt +++ b/lib-multisrc/kemono/src/eu/kanade/tachiyomi/multisrc/kemono/Kemono.kt @@ -191,6 +191,8 @@ open class Kemono( override fun mangaDetailsParse(response: Response) = throw UnsupportedOperationException() + override fun getChapterUrl(chapter: SChapter) = "$baseUrl${chapter.url.replace("$apiPath/", "")}" + override fun fetchChapterList(manga: SManga): Observable> = Observable.fromCallable { KemonoPostDto.dateFormat.timeZone = when (manga.author) { "Pixiv Fanbox", "Fantia" -> TimeZone.getTimeZone("GMT+09:00")