parent
7b84e27eae
commit
3244e3fe53
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Manwa'
|
extName = 'Manwa'
|
||||||
extClass = '.Manwa'
|
extClass = '.Manwa'
|
||||||
extVersionCode = 11
|
extVersionCode = 12
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -228,6 +228,11 @@ class Manwa : ParsedHttpSource(), ConfigurableSource {
|
|||||||
thumbnail_url = document.selectFirst("div.detail-main-cover > img")!!.attr("data-original")
|
thumbnail_url = document.selectFirst("div.detail-main-cover > img")!!.attr("data-original")
|
||||||
author = document.select("p.detail-main-info-author > span.detail-main-info-value > a").text()
|
author = document.select("p.detail-main-info-author > span.detail-main-info-value > a").text()
|
||||||
artist = author
|
artist = author
|
||||||
|
status = when (document.select("p.detail-main-info-author:contains(更新状态) > span.detail-main-info-value")!!.text()) {
|
||||||
|
"连载中" -> SManga.ONGOING
|
||||||
|
"已完结" -> SManga.COMPLETED
|
||||||
|
else -> SManga.UNKNOWN
|
||||||
|
}
|
||||||
genre = document.select("div.detail-main-info-class > a.info-tag").eachText().joinToString(", ")
|
genre = document.select("div.detail-main-info-class > a.info-tag").eachText().joinToString(", ")
|
||||||
description = document.selectFirst("#detail > p.detail-desc")!!.text()
|
description = document.selectFirst("#detail > p.detail-desc")!!.text()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user