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