From 1a6c21f9f3ef708023d9abb276a87a12ad820e1e Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Mon, 23 Sep 2024 15:19:22 +0200 Subject: [PATCH] Cartoon18: fix page selector (#5164) --- src/zh/cartoon18/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/zh/cartoon18/Cartoon18.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zh/cartoon18/build.gradle b/src/zh/cartoon18/build.gradle index d9292e558..14e805a2a 100644 --- a/src/zh/cartoon18/build.gradle +++ b/src/zh/cartoon18/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Cartoon18' extClass = '.Cartoon18' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/zh/cartoon18/src/eu/kanade/tachiyomi/extension/zh/cartoon18/Cartoon18.kt b/src/zh/cartoon18/src/eu/kanade/tachiyomi/extension/zh/cartoon18/Cartoon18.kt index 38d24f80d..ad6124f1d 100644 --- a/src/zh/cartoon18/src/eu/kanade/tachiyomi/extension/zh/cartoon18/Cartoon18.kt +++ b/src/zh/cartoon18/src/eu/kanade/tachiyomi/extension/zh/cartoon18/Cartoon18.kt @@ -114,7 +114,7 @@ class Cartoon18 : HttpSource(), ConfigurableSource { override fun pageListParse(response: Response): List { val document = response.asJsoup() - val images = document.select("div#lightgallery a img") + val images = document.select("div#app > div > a img") return images.mapIndexed { index, image -> Page(index, imageUrl = image.attr("src")) }