Colored Manga: fix date, default to new chapter endpoint (#17413)
This commit is contained in:
parent
3ebe324d3f
commit
b608c90b21
|
@ -0,0 +1,16 @@
|
|||
package eu.kanade.tachiyomi.extension.en.coloredmanga
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class ColoredManga : Madara(
|
||||
"Colored Manga",
|
||||
"https://coloredmanga.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("dd-MMM", Locale.ENGLISH),
|
||||
) {
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
|
||||
}
|
|
@ -66,7 +66,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Clover Manga", "https://clover-manga.com", "tr", overrideVersionCode = 2),
|
||||
SingleLang("Coco Rip", "https://cocorip.net", "es"),
|
||||
SingleLang("Coffee Manga", "https://coffeemanga.io", "en", overrideVersionCode = 1),
|
||||
SingleLang("Colored Manga", "https://coloredmanga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Colored Manga", "https://coloredmanga.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("ComicKiba", "https://comickiba.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Comics Valley", "https://comicsvalley.com", "hi", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("ComicsWorld", "https://comicsworld.in", "hi"),
|
||||
|
|
Loading…
Reference in New Issue