From a424ae756f439f0d13f11d45877adc757f85d5f0 Mon Sep 17 00:00:00 2001 From: dngonz Date: Sat, 23 Nov 2024 11:08:49 +0100 Subject: [PATCH] Cocomic: hide paid chapters (#6222) --- src/en/cocomic/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/en/cocomic/Cocomic.kt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/en/cocomic/build.gradle b/src/en/cocomic/build.gradle index e790d0c52..f170f3cbd 100644 --- a/src/en/cocomic/build.gradle +++ b/src/en/cocomic/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.Cocomic' themePkg = 'madara' baseUrl = 'https://cocomic.co' - overrideVersionCode = 0 + overrideVersionCode = 1 isNsfw = true } diff --git a/src/en/cocomic/src/eu/kanade/tachiyomi/extension/en/cocomic/Cocomic.kt b/src/en/cocomic/src/eu/kanade/tachiyomi/extension/en/cocomic/Cocomic.kt index 882199e20..64fc63a5a 100644 --- a/src/en/cocomic/src/eu/kanade/tachiyomi/extension/en/cocomic/Cocomic.kt +++ b/src/en/cocomic/src/eu/kanade/tachiyomi/extension/en/cocomic/Cocomic.kt @@ -12,4 +12,6 @@ class Cocomic : Madara("Cocomic", "https://cocomic.co", "en") { .build() override val useNewChapterEndpoint = true + + override fun chapterListSelector() = "li.wp-manga-chapter:not(.premium)" }