mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-24 03:12:42 +01:00
parent
5dfa53e98f
commit
02f1962632
@ -292,7 +292,7 @@ abstract class MangaThemesia(
|
||||
listOf("canceled", "cancelled", "cancelado", "cancellato", "cancelados", "dropped", "discontinued", "abandonné")
|
||||
.any { this.contains(it, ignoreCase = true) } -> SManga.CANCELLED
|
||||
|
||||
listOf("hiatus", "on hold", "pausado", "en espera", "en pause", "en attente")
|
||||
listOf("hiatus", "on hold", "pausado", "en espera", "en pause", "en attente", "hiato")
|
||||
.any { this.contains(it, ignoreCase = true) } -> SManga.ON_HIATUS
|
||||
|
||||
else -> SManga.UNKNOWN
|
||||
|
@ -3,7 +3,7 @@ ext {
|
||||
extClass = '.SilenceScan'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://silencescan.com.br'
|
||||
overrideVersionCode = 5
|
||||
overrideVersionCode = 6
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.extension.pt.silencescan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
@ -22,11 +21,4 @@ class SilenceScan : MangaThemesia(
|
||||
.build()
|
||||
|
||||
override val altNamePrefix = "Nome alternativo: "
|
||||
|
||||
override fun String?.parseStatus() = when {
|
||||
this == null -> SManga.UNKNOWN
|
||||
this.contains("Em Andamento") -> SManga.ONGOING
|
||||
this.contains("Completo") -> SManga.COMPLETED
|
||||
else -> SManga.UNKNOWN
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user