Updated DemoneCeleste (#12600)
This commit is contained in:
parent
dc03f5cd89
commit
5debf54482
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'DemoneCeleste'
|
extName = 'DemoneCeleste'
|
||||||
pkgNameSuffix = 'it.demoneceleste'
|
pkgNameSuffix = 'it.demoneceleste'
|
||||||
extClass = '.DemoneCeleste'
|
extClass = '.DemoneCeleste'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -132,6 +132,7 @@ class DemoneCeleste : ParsedHttpSource() {
|
||||||
manga.status = when {
|
manga.status = when {
|
||||||
infoElement.text().lowercase().contains("in corso") -> SManga.ONGOING
|
infoElement.text().lowercase().contains("in corso") -> SManga.ONGOING
|
||||||
infoElement.text().lowercase().contains("concluso") -> SManga.COMPLETED
|
infoElement.text().lowercase().contains("concluso") -> SManga.COMPLETED
|
||||||
|
infoElement.text().lowercase().contains("sospeso") -> SManga.ON_HIATUS
|
||||||
else -> SManga.UNKNOWN
|
else -> SManga.UNKNOWN
|
||||||
}
|
}
|
||||||
manga.author = infoElement.select("p:has(strong:contains(Autore))")?.text()!!.replace("Autore: ", "")
|
manga.author = infoElement.select("p:has(strong:contains(Autore))")?.text()!!.replace("Autore: ", "")
|
||||||
|
|
Loading…
Reference in New Issue