MangaDods: fix chapter titles, add partial chapter date (#17265)
MangaDods: fix chapter titles, optimize against 301, add chapter date (partial)
This commit is contained in:
parent
5dd7409f93
commit
873f752d61
|
@ -4,4 +4,12 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
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"
|
||||||
|
}
|
||||||
|
|
|
@ -229,7 +229,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("MangaCultivator", "https://mangacultivator.com", "en", overrideVersionCode = 2),
|
SingleLang("MangaCultivator", "https://mangacultivator.com", "en", overrideVersionCode = 2),
|
||||||
SingleLang("MangaCV", "https://mangacv.com", "en", isNsfw = true),
|
SingleLang("MangaCV", "https://mangacv.com", "en", isNsfw = true),
|
||||||
SingleLang("MangaDeemak", "https://mangadeemak.com", "th", overrideVersionCode = 2),
|
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("MangaDol", "https://mangadol.com", "en"),
|
||||||
SingleLang("MangaEffect", "https://mangaeffect.com", "en", overrideVersionCode = 1),
|
SingleLang("MangaEffect", "https://mangaeffect.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Mangaforfree.com", "https://mangaforfree.com", "en", isNsfw = true, className = "Mangaforfreecom"),
|
SingleLang("Mangaforfree.com", "https://mangaforfree.com", "en", isNsfw = true, className = "Mangaforfreecom"),
|
||||||
|
|
Loading…
Reference in New Issue