Fix jinmantiantang manga status error. (#10833)
* fix jinmantiantang * fix jinmantiantang Manga status
This commit is contained in:
parent
c42cf60d41
commit
ed0f8fbc3f
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Jinmantiantang'
|
||||
pkgNameSuffix = 'zh.jinmantiantang'
|
||||
extClass = '.Jinmantiantang'
|
||||
extVersionCode = 19
|
||||
extVersionCode = 20
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@ class Jinmantiantang : ConfigurableSource, ParsedHttpSource() {
|
|||
|
||||
// 查询漫画状态和类别信息
|
||||
private fun selectDetailsStatusAndGenre(document: Document, index: Int): String {
|
||||
var status = "2"
|
||||
var status = "0"
|
||||
var genre = ""
|
||||
if (document.select("span[itemprop=genre] a").size == 0) {
|
||||
return if (index == 1) {
|
||||
|
@ -269,6 +269,9 @@ class Jinmantiantang : ConfigurableSource, ParsedHttpSource() {
|
|||
"連載中" -> {
|
||||
status = "1"
|
||||
}
|
||||
"完結" -> {
|
||||
status = "2"
|
||||
}
|
||||
else -> {
|
||||
genre = "$genre$vote "
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue