Revert PR#18961 which causes multiple regressions (#19198)

* Revert PR#18961 which causes regression

* Update version code
This commit is contained in:
BakerBunkerProjects 2023-12-07 21:32:35 +08:00 committed by GitHub
parent 21f3959661
commit 37521788e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Jinman Tiantang'
pkgNameSuffix = 'zh.jinmantiantang'
extClass = '.Jinmantiantang'
extVersionCode = 39
extVersionCode = 40
isNsfw = true
}

View File

@ -162,7 +162,7 @@ class Jinmantiantang : ParsedHttpSource(), ConfigurableSource {
override fun mangaDetailsParse(document: Document): SManga = SManga.create().apply {
title = document.selectFirst("h1")!!.text()
// keep thumbnail_url same as the one in popularMangaFromElement()
thumbnail_url = document.selectFirst(".thumb-overlay > noscript > img")!!.attr("src").substringBeforeLast('.') + "_3x4.jpg"
thumbnail_url = document.selectFirst(".thumb-overlay > img")!!.attr("src").substringBeforeLast('.') + "_3x4.jpg"
author = selectAuthor(document)
genre = selectDetailsStatusAndGenre(document, 0).trim().split(" ").joinToString(", ")