From 5f117bffbd09dcef076351f558a9b27d44b43d07 Mon Sep 17 00:00:00 2001 From: CVIUS <84634607+CVIUS@users.noreply.github.com> Date: Tue, 8 Jun 2021 20:28:52 +0800 Subject: [PATCH] fix some sources (#7535) * Update MangaKitsune.kt * Update MangaLazy.kt * Update MangaKitsune.kt * Update MadaraGenerator.kt --- multisrc/overrides/madara/mangakitsune/src/MangaKitsune.kt | 4 ++-- multisrc/overrides/madara/mangalazy/src/MangaLazy.kt | 2 +- .../eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/multisrc/overrides/madara/mangakitsune/src/MangaKitsune.kt b/multisrc/overrides/madara/mangakitsune/src/MangaKitsune.kt index 3c69add52..636e8463c 100644 --- a/multisrc/overrides/madara/mangakitsune/src/MangaKitsune.kt +++ b/multisrc/overrides/madara/mangakitsune/src/MangaKitsune.kt @@ -9,7 +9,7 @@ import okhttp3.OkHttpClient import java.util.concurrent.TimeUnit @Nsfw -class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", dateFormat = SimpleDateFormat("MM/dd/yy", Locale.US)) { +class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", dateFormat = SimpleDateFormat("yyyy-MM-dd", Locale.US)) { private val rateLimitInterceptor = RateLimitInterceptor(1) override val client: OkHttpClient = network.cloudflareClient.newBuilder() @@ -18,7 +18,7 @@ class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", da .addNetworkInterceptor(rateLimitInterceptor) .build() - override val pageListParseSelector = "div.page-break, li.blocks-gallery-item" + override val pageListParseSelector = ".reading-content div.text-left :has(>img)" override fun getGenreList() = listOf( Genre("Action", "action"), diff --git a/multisrc/overrides/madara/mangalazy/src/MangaLazy.kt b/multisrc/overrides/madara/mangalazy/src/MangaLazy.kt index b43335e11..2e85803de 100644 --- a/multisrc/overrides/madara/mangalazy/src/MangaLazy.kt +++ b/multisrc/overrides/madara/mangalazy/src/MangaLazy.kt @@ -16,7 +16,7 @@ class MangaLazy : Madara("MangaLazy", "https://mangalazy.com", "en") { .addNetworkInterceptor(rateLimitInterceptor) .build() - override val pageListParseSelector = "div.page-break, li.blocks-gallery-item" + override val pageListParseSelector = ".reading-content div.text-left :has(>img)" override fun getGenreList() = listOf( Genre("Action", "action"), 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 e4583411e..2d944f7a1 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 @@ -112,11 +112,11 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Manga Hentai", "https://mangahentai.me", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("Mangakik", "https://mangakik.com", "en"), SingleLang("Manga Kiss", "https://mangakiss.org", "en", overrideVersionCode = 1), - SingleLang("MangaKitsune", "https://mangakitsune.com", "en", isNsfw = true), + SingleLang("MangaKitsune", "https://mangakitsune.com", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("MangaKomi", "https://mangakomi.com", "en", overrideVersionCode = 2), SingleLang("Manga Land Arabic", "https://mangalandarabic.com", "ar"), SingleLang("مانجا ليك", "https://mangalek.com", "ar", className = "Mangalek"), - SingleLang("MangaLazy", "https://mangalazy.com", "en", isNsfw = true, overrideVersionCode = 1), + SingleLang("MangaLazy", "https://mangalazy.com", "en", isNsfw = true, overrideVersionCode = 2), SingleLang("MangaLionz", "https://mangalionz.com", "ar"), SingleLang("مانجا لينك", "https://mangalink.io", "ar", className = "MangaLinkio", overrideVersionCode = 1), SingleLang("Manga Lord", "https://mangalord.com", "en", overrideVersionCode = 1),