Colored Manga: fix date, default to new chapter endpoint (#17413)

This commit is contained in:
Vetle Ledaal 2023-08-06 21:18:44 +00:00 committed by GitHub
parent 3ebe324d3f
commit b608c90b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -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/"
}

View File

@ -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"),