diff --git a/multisrc/overrides/madara/mangaflix/src/MangaFlix.kt b/multisrc/overrides/madara/mangaflix/src/MangaFlix.kt index a094f37b5..10bcdce1a 100644 --- a/multisrc/overrides/madara/mangaflix/src/MangaFlix.kt +++ b/multisrc/overrides/madara/mangaflix/src/MangaFlix.kt @@ -20,9 +20,9 @@ class MangaFlix : Madara( val chapter = super.chapterFromElement(element) with(element) { - select(chapterUrlSelector).first()?.let { urlElement -> - // use .ownText() instead of .text() - chapter.name = urlElement.ownText() + selectFirst(chapterUrlSelector)?.let { urlElement -> + // Using .text() on the tag is too broad + chapter.name = urlElement.selectFirst("> p")!!.text() } } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index 0fc460b5d..afe004977 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -517,7 +517,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("عرب تونز", "https://arabtoons.net", "ar", isNsfw = true, className = "ArabToons"), SingleLang("مانجا العاشق", "https://3asq.org", "ar", className = "Manga3asq", overrideVersionCode = 2), SingleLang("مانجا عرب تيم Manga Arab Team", "https://mangaarbteam.com", "ar", className = "MangaArabTeam", overrideVersionCode = 1), - SingleLang("مانجا فليكس", "https://www.manga-flix.com", "ar", isNsfw = false, className = "MangaFlix"), + SingleLang("مانجا فليكس", "https://www.manga-flix.com", "ar", isNsfw = false, className = "MangaFlix", overrideVersionCode = 1), SingleLang("مانجا ليك", "https://mangalek.com", "ar", className = "Mangalek", overrideVersionCode = 1), SingleLang("مانجا لينك", "https://mangalink.io", "ar", className = "MangaLinkio", overrideVersionCode = 2), SingleLang("شبكة كونان العربية", "https://manga.detectiveconanar.com", "ar", className = "DetectiveConanAr", overrideVersionCode = 2),