From 5143199e08fc468004434b377bc18fbf4eb59b51 Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Fri, 3 Jan 2025 08:42:34 +0100 Subject: [PATCH] Thunder-/Night-Scans: do not use :is() selector (#6920) --- .../mangathemesia/MangaThemesiaPaidChapterHelper.kt | 7 ++++++- src/all/thunderscans/build.gradle | 3 ++- src/en/nightscans/build.gradle | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib-multisrc/mangathemesia/src/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaPaidChapterHelper.kt b/lib-multisrc/mangathemesia/src/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaPaidChapterHelper.kt index 6639c9755..e91a22c63 100644 --- a/lib-multisrc/mangathemesia/src/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaPaidChapterHelper.kt +++ b/lib-multisrc/mangathemesia/src/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaPaidChapterHelper.kt @@ -25,6 +25,11 @@ class MangaThemesiaPaidChapterHelper( return baseChapterListSelector } - return ":is($baseChapterListSelector):not($lockedChapterSelector):not(:has($lockedChapterSelector))" + // Fragile + val selectors = baseChapterListSelector.split(", ") + + return selectors + .map { "$it:not($lockedChapterSelector):not(:has($lockedChapterSelector))" } + .joinToString() } } diff --git a/src/all/thunderscans/build.gradle b/src/all/thunderscans/build.gradle index 99d5273bc..b9e556425 100644 --- a/src/all/thunderscans/build.gradle +++ b/src/all/thunderscans/build.gradle @@ -3,7 +3,8 @@ ext { extClass = '.ThunderScansFactory' themePkg = 'mangathemesia' baseUrl = 'https://en-thunderscans.com' - overrideVersionCode = 8 + overrideVersionCode = 9 + isNsfw = false } apply from: "$rootDir/common.gradle" diff --git a/src/en/nightscans/build.gradle b/src/en/nightscans/build.gradle index 2e400d31a..fd7eda63f 100644 --- a/src/en/nightscans/build.gradle +++ b/src/en/nightscans/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.NightScans' themePkg = 'mangathemesia' baseUrl = 'https://nightsup.net' - overrideVersionCode = 9 + overrideVersionCode = 10 isNsfw = true }