Update domain for TonizuToon (#152)

This commit is contained in:
Vetle Ledaal 2024-01-11 22:27:54 +00:00 committed by Draff
parent 283c117b49
commit 2ce5e88163
3 changed files with 18 additions and 5 deletions

View File

@ -6,7 +6,17 @@ import java.util.Locale
class TonizuToon : Madara(
"TonizuToon",
"https://tonizutoon.com",
"https://tonizu.com",
"tr",
SimpleDateFormat("MMMMM d, yyyy", Locale("tr")),
)
dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
) {
override val useNewChapterEndpoint = true
override val mangaDetailsSelectorTitle = "#manga-title"
override val mangaDetailsSelectorAuthor = ".summary-heading:contains(Yazar) ~ .summary-content"
override val mangaDetailsSelectorStatus = ".summary-heading:contains(Durumu) ~ .summary-content"
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
}

View File

@ -467,24 +467,27 @@ abstract class Madara(
"مكتملة",
"مكتمل",
"已完结",
"Tamamlandı",
)
protected val ongoingStatusList: Array<String> = arrayOf(
"OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em lançamento", "Em andamento",
"Em Andamento", "En cours", "En Cours", "En cours de publication", "Ativo", "Lançando", "Đang Tiến Hành", "Devam Ediyor",
"Devam ediyor", "In Corso", "In Arrivo", "مستمرة", "مستمر", "En Curso", "En curso", "Emision",
"Curso", "En marcha", "Publicandose", "En emision", "连载中", "Em Lançamento",
"Curso", "En marcha", "Publicandose", "En emision", "连载中", "Em Lançamento", "Devam Ediyo",
)
protected val hiatusStatusList: Array<String> = arrayOf(
"On Hold",
"Pausado",
"En espera",
"Durduruldu",
)
protected val canceledStatusList: Array<String> = arrayOf(
"Canceled",
"Cancelado",
"İptal Edildi",
)
override fun mangaDetailsParse(document: Document): SManga {

View File

@ -456,7 +456,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("The Guild", "https://theguildscans.com", "en"),
SingleLang("Time Naight", "https://timenaight.com", "tr"),
SingleLang("Todaymic", "https://todaymic.com", "en", overrideVersionCode = 1),
SingleLang("TonizuToon", "https://tonizutoon.com", "tr", isNsfw = true),
SingleLang("TonizuToon", "https://tonizu.com", "tr", isNsfw = true, overrideVersionCode = 1),
SingleLang("ToonChill", "https://toonchill.com", "en", overrideVersionCode = 1),
SingleLang("ToonGod", "https://www.toongod.org", "en", isNsfw = true, overrideVersionCode = 5),
SingleLang("Toonily.net", "https://toonily.net", "en", isNsfw = true, className = "Toonilynet", overrideVersionCode = 2),