Fix unknown status and author on Sushi Scan (#15885)

This commit is contained in:
KirinRaikage 2023-04-01 17:56:25 +02:00 committed by GitHub
parent 5bb3d07b63
commit 7c9904acdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -7,9 +7,8 @@ import java.util.Locale
class SushiScan : MangaThemesia("Sushi-Scan", "https://sushiscan.ru", "fr", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.FRENCH)) {
override val altNamePrefix = "Nom alternatif : "
override val seriesStatusSelector = ".tsinfo .imptdt:contains(Statut)"
override val seriesArtistSelector = ".tsinfo .imptdt:contains(Dessinateur) i"
override val seriesAuthorSelector = ".infotable tr:contains(Auteur) td:last-child"
override val seriesStatusSelector = ".infotable tr:contains(Statut) td:last-child"
override fun String?.parseStatus(): Int = when {
this == null -> SManga.UNKNOWN
this.contains("En Cours", ignoreCase = true) -> SManga.ONGOING

View File

@ -108,7 +108,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("Snudae Scans", "https://snudaescans.com", "en", isNsfw = true, className = "BatotoScans", overrideVersionCode = 1),
SingleLang("Summer Fansub", "https://smmr.in", "pt-BR", isNsfw = true),
SingleLang("Surya Scans", "https://suryascans.com", "en"),
SingleLang("Sushi-Scan", "https://sushiscan.ru", "fr", className = "SushiScan", overrideVersionCode = 1),
SingleLang("Sushi-Scan", "https://sushiscan.ru", "fr", className = "SushiScan", overrideVersionCode = 2),
SingleLang("Tarot Scans", "https://www.tarotscans.com", "tr"),
SingleLang("The Apollo Team", "https://theapollo.team", "en"),
SingleLang("Tsundoku Traduções", "https://tsundoku.com.br", "pt-BR", className = "TsundokuTraducoes", overrideVersionCode = 9),