Toonily: fix search and filtering (#13142)

This commit is contained in:
Buhbbl 2022-08-23 14:56:32 +02:00 committed by GitHub
parent 84fd64500f
commit 74ef6efa7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ class Toonily : Madara(
override val useNewChapterEndpoint: Boolean = true override val useNewChapterEndpoint: Boolean = true
override fun searchMangaSelector() = "div.page-item-detail.manga"
override fun parseChapterDate(date: String?): Long { override fun parseChapterDate(date: String?): Long {
val formattedDate = if (date?.contains("UP") == true) "today" else date val formattedDate = if (date?.contains("UP") == true) "today" else date
return super.parseChapterDate(formattedDate) return super.parseChapterDate(formattedDate)

View File

@ -452,7 +452,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Todaymic", "https://todaymic.com", "en", overrideVersionCode = 1), SingleLang("Todaymic", "https://todaymic.com", "en", overrideVersionCode = 1),
SingleLang("TonizuToon", "https://tonizutoon.com", "tr", isNsfw = true), SingleLang("TonizuToon", "https://tonizutoon.com", "tr", isNsfw = true),
SingleLang("ToonGod", "https://www.toongod.com", "en", isNsfw = true, overrideVersionCode = 2), SingleLang("ToonGod", "https://www.toongod.com", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("Toonily", "https://toonily.com", "en", isNsfw = true, overrideVersionCode = 7), SingleLang("Toonily", "https://toonily.com", "en", isNsfw = true, overrideVersionCode = 8),
SingleLang("Toonily.net", "https://toonily.net", "en", isNsfw = true, className = "Toonilynet", overrideVersionCode = 2), SingleLang("Toonily.net", "https://toonily.net", "en", isNsfw = true, className = "Toonilynet", overrideVersionCode = 2),
SingleLang("ToonMany", "https://toonmany.com", "en", isNsfw = true), SingleLang("ToonMany", "https://toonmany.com", "en", isNsfw = true),
SingleLang("Top Manhua", "https://topmanhua.com", "en", overrideVersionCode = 1), SingleLang("Top Manhua", "https://topmanhua.com", "en", overrideVersionCode = 1),