Fix no description & update domain NhattruyenS (#3052)

* Update domain and fix no description NhattruyenS

* Update bump
This commit is contained in:
are-are-are 2024-05-17 00:01:19 +07:00 committed by Draff
parent 3cb723b12b
commit f09a232033
2 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'NhatTruyenS (unoriginal)'
extClass = '.NhatTruyenS'
themePkg = 'wpcomics'
baseUrl = 'https://nhattruyens.com'
overrideVersionCode = 0
baseUrl = 'https://nhattruyenss.net'
overrideVersionCode = 1
}
apply from: "$rootDir/common.gradle"

View File

@ -11,7 +11,7 @@ import java.util.Locale
class NhatTruyenS : WPComics(
"NhatTruyenS (unoriginal)",
"https://nhattruyens.com",
"https://nhattruyenss.net",
"vi",
dateFormat = SimpleDateFormat("dd/MM/yy", Locale.getDefault()),
gmtOffset = null,
@ -45,7 +45,7 @@ class NhatTruyenS : WPComics(
status = info.select("li.status p.col-xs-8").text().toStatus()
genre = info.select("li.kind p.col-xs-8 a").joinToString { it.text() }
val otherName = info.select("h2.other-name").text()
description = info.select("div.detail-content div.about:nth-child(3)").text() +
description = info.select("div.detail-content div.summary").text() +
if (otherName.isNotBlank()) "\n\n ${intl["OTHER_NAME"]}: $otherName" else ""
thumbnail_url = imageOrNull(info.select("div.col-image img").first()!!)
}