Manwa: Fix NPE in mangaDetailsParse() (#16474)
This commit is contained in:
parent
961772439c
commit
62897219ff
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Manwa'
|
||||
pkgNameSuffix = 'zh.manwa'
|
||||
extClass = '.Manwa'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ class Manwa : ParsedHttpSource(), ConfigurableSource {
|
|||
// Details
|
||||
|
||||
override fun mangaDetailsParse(document: Document): SManga = SManga.create().apply {
|
||||
title = document.selectFirst("p.detail-main-info-title")!!.text()
|
||||
title = document.selectFirst(".detail-main-info-title")!!.text()
|
||||
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()
|
||||
artist = author
|
||||
|
|
Loading…
Reference in New Issue