Jinmantiantang: manga detail thumbnail_url empty (#18961)
* fix: jinmantiantang no pages found * fix: jinmantiantang thumbnail_url empty --------- Co-authored-by: liubowen <liubowen@corp-ci.com> Co-authored-by: Andrew Kyrie <lbwstco@163.com>
This commit is contained in:
parent
94942b5f39
commit
4b169ece38
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Jinman Tiantang'
|
extName = 'Jinman Tiantang'
|
||||||
pkgNameSuffix = 'zh.jinmantiantang'
|
pkgNameSuffix = 'zh.jinmantiantang'
|
||||||
extClass = '.Jinmantiantang'
|
extClass = '.Jinmantiantang'
|
||||||
extVersionCode = 38
|
extVersionCode = 39
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,7 @@ class Jinmantiantang : ParsedHttpSource(), ConfigurableSource {
|
||||||
override fun mangaDetailsParse(document: Document): SManga = SManga.create().apply {
|
override fun mangaDetailsParse(document: Document): SManga = SManga.create().apply {
|
||||||
title = document.selectFirst("h1")!!.text()
|
title = document.selectFirst("h1")!!.text()
|
||||||
// keep thumbnail_url same as the one in popularMangaFromElement()
|
// keep thumbnail_url same as the one in popularMangaFromElement()
|
||||||
thumbnail_url = document.selectFirst(".thumb-overlay > img")!!.attr("src").substringBeforeLast('.') + "_3x4.jpg"
|
thumbnail_url = document.selectFirst(".thumb-overlay > noscript > img")!!.attr("src").substringBeforeLast('.') + "_3x4.jpg"
|
||||||
author = selectAuthor(document)
|
author = selectAuthor(document)
|
||||||
genre = selectDetailsStatusAndGenre(document, 0).trim().split(" ").joinToString(", ")
|
genre = selectDetailsStatusAndGenre(document, 0).trim().split(" ").joinToString(", ")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue