Nepnep: Parse new statuses (#12328)
* Nepnep: Parse new statuses * bump version
This commit is contained in:
parent
da995033e0
commit
300b61ecd4
|
@ -246,6 +246,8 @@ abstract class NepNep(
|
||||||
private fun String.toStatus() = when {
|
private fun String.toStatus() = when {
|
||||||
this.contains("Ongoing", ignoreCase = true) -> SManga.ONGOING
|
this.contains("Ongoing", ignoreCase = true) -> SManga.ONGOING
|
||||||
this.contains("Complete", ignoreCase = true) -> SManga.COMPLETED
|
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
|
else -> SManga.UNKNOWN
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ class NepNepGenerator : ThemeSourceGenerator {
|
||||||
|
|
||||||
override val themeClass = "NepNep"
|
override val themeClass = "NepNep"
|
||||||
|
|
||||||
override val baseVersionCode: Int = 8
|
override val baseVersionCode: Int = 9
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("MangaSee", "https://mangasee123.com", "en", overrideVersionCode = 20),
|
SingleLang("MangaSee", "https://mangasee123.com", "en", overrideVersionCode = 20),
|
||||||
|
|
Loading…
Reference in New Issue