LectorTMO: Add more status (#9695)

* Add more status

* Update version
This commit is contained in:
Hiirbaf 2025-07-18 11:58:14 -03:00 committed by Draff
parent 42e4618a13
commit 3018e37492
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'TuMangaOnline'
extClass = '.LectorTmo'
extVersionCode = 7
extVersionCode = 8
isNsfw = true
}

View File

@ -249,6 +249,8 @@ class LectorTmo : ParsedHttpSource(), ConfigurableSource {
private fun parseStatus(status: String) = when {
status.contains("Publicándose") -> SManga.ONGOING
status.contains("Pausado") -> SManga.ON_HIATUS
status.contains("Cancelado") -> SManga.CANCELLED
status.contains("Finalizado") -> SManga.COMPLETED
else -> SManga.UNKNOWN
}