diff --git a/multisrc/overrides/madara/mangadods/src/MangaDods.kt b/multisrc/overrides/madara/mangadods/src/MangaDods.kt index 1ae4bcf2c..777e228ad 100644 --- a/multisrc/overrides/madara/mangadods/src/MangaDods.kt +++ b/multisrc/overrides/madara/mangadods/src/MangaDods.kt @@ -4,4 +4,12 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara import java.text.SimpleDateFormat import java.util.Locale -class MangaDods : Madara("MangaDods", "https://www.mangadods.com", "en", SimpleDateFormat("yyyy-MM-dd", Locale.US)) +class MangaDods : Madara("MangaDods", "https://mangadods.com", "en", SimpleDateFormat("dd-MMM", Locale.US)) { + override val useNewChapterEndpoint = true + + override val chapterUrlSelector = "a:not([style])" + + override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/" + + override fun chapterDateSelector() = "span i" +} 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 ff7972bf2..04406bb4d 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 @@ -229,7 +229,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("MangaCultivator", "https://mangacultivator.com", "en", overrideVersionCode = 2), SingleLang("MangaCV", "https://mangacv.com", "en", isNsfw = true), SingleLang("MangaDeemak", "https://mangadeemak.com", "th", overrideVersionCode = 2), - SingleLang("MangaDods", "https://www.mangadods.com", "en", overrideVersionCode = 2), + SingleLang("MangaDods", "https://mangadods.com", "en", overrideVersionCode = 3), SingleLang("MangaDol", "https://mangadol.com", "en"), SingleLang("MangaEffect", "https://mangaeffect.com", "en", overrideVersionCode = 1), SingleLang("Mangaforfree.com", "https://mangaforfree.com", "en", isNsfw = true, className = "Mangaforfreecom"),