From f21ab6c1d650afa40522dbf27c9892a48272bbf3 Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Sat, 5 Aug 2023 13:31:32 +0000 Subject: [PATCH] Manga District: fix next page selector (#17393) --- .../overrides/madara/mangadistrict/src/MangaDistrict.kt | 7 +++---- .../eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/multisrc/overrides/madara/mangadistrict/src/MangaDistrict.kt b/multisrc/overrides/madara/mangadistrict/src/MangaDistrict.kt index 5f10b78e6..515e52295 100644 --- a/multisrc/overrides/madara/mangadistrict/src/MangaDistrict.kt +++ b/multisrc/overrides/madara/mangadistrict/src/MangaDistrict.kt @@ -1,12 +1,11 @@ package eu.kanade.tachiyomi.extension.en.mangadistrict import eu.kanade.tachiyomi.multisrc.madara.Madara -import java.text.SimpleDateFormat -import java.util.Locale class MangaDistrict : Madara( "Manga District", "https://mangadistrict.com", "en", - dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US), -) +) { + override fun searchMangaNextPageSelector() = "div[role=navigation] a.last" +} 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 07f383246..3bddddb1b 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 @@ -192,7 +192,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Manga Bin", "https://mangabin.com", "en", overrideVersionCode = 1), SingleLang("Manga Chill", "https://toonchill.com", "en", overrideVersionCode = 7), SingleLang("Manga Crab", "https://mangacrab.com", "es", overrideVersionCode = 4), - SingleLang("Manga District", "https://mangadistrict.com", "en", isNsfw = true, overrideVersionCode = 1), + SingleLang("Manga District", "https://mangadistrict.com", "en", isNsfw = true, overrideVersionCode = 2), SingleLang("Manga Diyari", "https://manga-diyari.com", "tr", overrideVersionCode = 2), SingleLang("Manga Fenix", "https://manga-fenix.com", "es", overrideVersionCode = 2), SingleLang("Manga Galaxy", "https://mangagalaxy.me", "en", overrideVersionCode = 1),