From 368afc16ee6d10d3df745005697f9943e7ea7d18 Mon Sep 17 00:00:00 2001 From: "Cuong M. Tran" Date: Tue, 21 Nov 2023 00:01:02 +0700 Subject: [PATCH] Fix ManyToon.me & ManyToon.club (#19029) Fix issues in which both sources unable to load any mangas. Closes #16612 --- .../overrides/madara/manytoonclub/src/ManyToonClub.kt | 11 +++++++++++ .../overrides/madara/manytoonme/src/ManyToonMe.kt | 5 ++--- .../tachiyomi/multisrc/madara/MadaraGenerator.kt | 4 ++-- 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 multisrc/overrides/madara/manytoonclub/src/ManyToonClub.kt diff --git a/multisrc/overrides/madara/manytoonclub/src/ManyToonClub.kt b/multisrc/overrides/madara/manytoonclub/src/ManyToonClub.kt new file mode 100644 index 000000000..d8611ad92 --- /dev/null +++ b/multisrc/overrides/madara/manytoonclub/src/ManyToonClub.kt @@ -0,0 +1,11 @@ +package eu.kanade.tachiyomi.extension.en.manytoonclub + +import eu.kanade.tachiyomi.multisrc.madara.Madara + +class ManyToonClub : Madara("ManyToonClub", "https://manytoon.club", "ko") { + + override val mangaSubString = "manhwa-raw" + + // The website does not flag the content. + override val filterNonMangaItems = false +} diff --git a/multisrc/overrides/madara/manytoonme/src/ManyToonMe.kt b/multisrc/overrides/madara/manytoonme/src/ManyToonMe.kt index fb4c05fbe..b4446e55e 100644 --- a/multisrc/overrides/madara/manytoonme/src/ManyToonMe.kt +++ b/multisrc/overrides/madara/manytoonme/src/ManyToonMe.kt @@ -4,8 +4,7 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara class ManyToonMe : Madara("ManyToon.me", "https://manytoon.me", "en") { - override val useNewChapterEndpoint: Boolean = true + override val mangaSubString = "comic" - // The website does not flag the content. - override val filterNonMangaItems = false + override val useNewChapterEndpoint: Boolean = true } 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 29bb787a2..248b39866 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 @@ -358,9 +358,9 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Mantraz Scan", "https://mantrazscan.com", "es"), SingleLang("ManWe", "https://manwe.pro", "tr", className = "EvaScans", overrideVersionCode = 1), SingleLang("ManyComic", "https://manycomic.com", "en", isNsfw = true, overrideVersionCode = 1), - SingleLang("ManyToon.me", "https://manytoon.me", "en", isNsfw = true, className = "ManyToonMe", overrideVersionCode = 4), + SingleLang("ManyToon.me", "https://manytoon.me", "en", isNsfw = true, className = "ManyToonMe", overrideVersionCode = 5), SingleLang("ManyToon", "https://manytoon.com", "en", isNsfw = true, overrideVersionCode = 5), - SingleLang("ManyToonClub", "https://manytoon.club", "ko", isNsfw = true, overrideVersionCode = 1), + SingleLang("ManyToonClub", "https://manytoon.club", "ko", isNsfw = true, overrideVersionCode = 2), SingleLang("MG Komik", "https://mgkomik.id", "id", overrideVersionCode = 11), SingleLang("Midnight Mess Scans", "https://midnightmess.org", "en", isNsfw = true, overrideVersionCode = 6), SingleLang("MidnightManga", "http://midnightmanga.com", "es"),