From 4309aff8f5bcf8dc208c96c3b26e6219b574c7e9 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sat, 17 Jun 2023 15:00:23 +0100 Subject: [PATCH] [mangaswat] update chapterListSelector (#16749) Update chapterListSelector for mangaswat --- multisrc/overrides/mangathemesia/mangaswat/src/MangaSwat.kt | 2 ++ .../tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/multisrc/overrides/mangathemesia/mangaswat/src/MangaSwat.kt b/multisrc/overrides/mangathemesia/mangaswat/src/MangaSwat.kt index e3e623117..220816e7e 100644 --- a/multisrc/overrides/mangathemesia/mangaswat/src/MangaSwat.kt +++ b/multisrc/overrides/mangathemesia/mangaswat/src/MangaSwat.kt @@ -53,6 +53,8 @@ class MangaSwat : MangaThemesia( return imageUrls.mapIndexed { index, imageUrl -> Page(index, imageUrl = imageUrl) } } + override fun chapterListSelector() = "div.bxcl li, ul div:has(span.lchx)" + @Serializable data class TSReader( val sources: List, diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt index d140f123b..6b7386d67 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt @@ -72,7 +72,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("MangaWT", "https://mangawt.com", "tr", overrideVersionCode = 5), SingleLang("Mangayaro", "https://mangayaro.net", "id"), SingleLang("Manhwa Lover", "https://manhwalover.com", "en", isNsfw = true, overrideVersionCode = 1), - SingleLang("MangaSwat", "https://swatmanga.me", "ar", overrideVersionCode = 8), + SingleLang("MangaSwat", "https://swatmanga.me", "ar", overrideVersionCode = 9), SingleLang("MangKomik", "https://mangkomik.net", "id", overrideVersionCode = 1), SingleLang("Mangás Chan", "https://mangaschan.com", "pt-BR", className = "MangasChan"), SingleLang("Manhwa Freak", "https://manhwafreak.com", "en", overrideVersionCode = 1),