Nepnep: Parse new statuses (#12328)

* Nepnep: Parse new statuses

* bump version
This commit is contained in:
zbue 2022-06-26 22:16:43 +08:00 committed by GitHub
parent da995033e0
commit 300b61ecd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -246,6 +246,8 @@ abstract class NepNep(
private fun String.toStatus() = when {
this.contains("Ongoing", ignoreCase = true) -> SManga.ONGOING
this.contains("Complete", ignoreCase = true) -> SManga.COMPLETED
this.contains("Cancelled", ignoreCase = true) -> SManga.CANCELLED
this.contains("Hiatus", ignoreCase = true) -> SManga.ON_HIATUS
else -> SManga.UNKNOWN
}

View File

@ -9,7 +9,7 @@ class NepNepGenerator : ThemeSourceGenerator {
override val themeClass = "NepNep"
override val baseVersionCode: Int = 8
override val baseVersionCode: Int = 9
override val sources = listOf(
SingleLang("MangaSee", "https://mangasee123.com", "en", overrideVersionCode = 20),