parent
562304145d
commit
fd2bf762da
|
@ -292,7 +292,7 @@ abstract class MangaThemesia(
|
||||||
listOf("canceled", "cancelled", "cancelado", "cancellato", "cancelados", "dropped", "discontinued", "abandonné")
|
listOf("canceled", "cancelled", "cancelado", "cancellato", "cancelados", "dropped", "discontinued", "abandonné")
|
||||||
.any { this.contains(it, ignoreCase = true) } -> SManga.CANCELLED
|
.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
|
.any { this.contains(it, ignoreCase = true) } -> SManga.ON_HIATUS
|
||||||
|
|
||||||
else -> SManga.UNKNOWN
|
else -> SManga.UNKNOWN
|
||||||
|
|
|
@ -3,7 +3,7 @@ ext {
|
||||||
extClass = '.SilenceScan'
|
extClass = '.SilenceScan'
|
||||||
themePkg = 'mangathemesia'
|
themePkg = 'mangathemesia'
|
||||||
baseUrl = 'https://silencescan.com.br'
|
baseUrl = 'https://silencescan.com.br'
|
||||||
overrideVersionCode = 5
|
overrideVersionCode = 6
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.extension.pt.silencescan
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
import eu.kanade.tachiyomi.source.model.SManga
|
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
@ -22,11 +21,4 @@ class SilenceScan : MangaThemesia(
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
override val altNamePrefix = "Nome alternativo: "
|
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