Updated DemoneCeleste (#12600)

This commit is contained in:
Renato 2022-07-16 17:13:38 +02:00 committed by GitHub
parent dc03f5cd89
commit 5debf54482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'DemoneCeleste'
pkgNameSuffix = 'it.demoneceleste'
extClass = '.DemoneCeleste'
extVersionCode = 1
extVersionCode = 2
}
apply from: "$rootDir/common.gradle"

View File

@ -132,6 +132,7 @@ class DemoneCeleste : ParsedHttpSource() {
manga.status = when {
infoElement.text().lowercase().contains("in corso") -> SManga.ONGOING
infoElement.text().lowercase().contains("concluso") -> SManga.COMPLETED
infoElement.text().lowercase().contains("sospeso") -> SManga.ON_HIATUS
else -> SManga.UNKNOWN
}
manga.author = infoElement.select("p:has(strong:contains(Autore))")?.text()!!.replace("Autore: ", "")