From f93a39807d32915a3dd7eb843b0de0cc34e55bdd Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Fri, 21 Jul 2023 04:07:39 +0200 Subject: [PATCH] MG Komik: update pagination (#17194) --- multisrc/overrides/madara/mgkomik/src/MGKomik.kt | 2 ++ .../java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/multisrc/overrides/madara/mgkomik/src/MGKomik.kt b/multisrc/overrides/madara/mgkomik/src/MGKomik.kt index d0d08cd82..ec17503bf 100644 --- a/multisrc/overrides/madara/mgkomik/src/MGKomik.kt +++ b/multisrc/overrides/madara/mgkomik/src/MGKomik.kt @@ -10,4 +10,6 @@ class MGKomik : Madara("MG Komik", "https://mgkomik.com", "id", SimpleDateFormat override val mangaSubString = "komik" override fun searchMangaNextPageSelector() = "a.page.larger" + + override fun searchPage(page: Int): String = "halaman/$page/" } 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 f77013371..274088a64 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 @@ -302,7 +302,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("ManyToon", "https://manytoon.com", "en", isNsfw = true, overrideVersionCode = 5), SingleLang("ManyToon.me", "https://manytoon.me", "en", isNsfw = true, className = "ManyToonMe", overrideVersionCode = 4), SingleLang("ManyToonClub", "https://manytoon.club", "ko", isNsfw = true, overrideVersionCode = 1), - SingleLang("MG Komik", "https://mgkomik.com", "id", overrideVersionCode = 4), + SingleLang("MG Komik", "https://mgkomik.com", "id", overrideVersionCode = 5), SingleLang("MHentais", "https://mhentais.com", "pt-BR", isNsfw = true, overrideVersionCode = 1), SingleLang("Midnight Mess Scans", "https://midnightmess.org", "en", isNsfw = true, overrideVersionCode = 6), SingleLang("MidnightManga", "http://midnightmanga.com", "es"),