Fix no description & update domain NhattruyenS (#3052)
* Update domain and fix no description NhattruyenS * Update bump
This commit is contained in:
parent
3cb723b12b
commit
f09a232033
|
@ -2,8 +2,8 @@ ext {
|
||||||
extName = 'NhatTruyenS (unoriginal)'
|
extName = 'NhatTruyenS (unoriginal)'
|
||||||
extClass = '.NhatTruyenS'
|
extClass = '.NhatTruyenS'
|
||||||
themePkg = 'wpcomics'
|
themePkg = 'wpcomics'
|
||||||
baseUrl = 'https://nhattruyens.com'
|
baseUrl = 'https://nhattruyenss.net'
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -11,7 +11,7 @@ import java.util.Locale
|
||||||
|
|
||||||
class NhatTruyenS : WPComics(
|
class NhatTruyenS : WPComics(
|
||||||
"NhatTruyenS (unoriginal)",
|
"NhatTruyenS (unoriginal)",
|
||||||
"https://nhattruyens.com",
|
"https://nhattruyenss.net",
|
||||||
"vi",
|
"vi",
|
||||||
dateFormat = SimpleDateFormat("dd/MM/yy", Locale.getDefault()),
|
dateFormat = SimpleDateFormat("dd/MM/yy", Locale.getDefault()),
|
||||||
gmtOffset = null,
|
gmtOffset = null,
|
||||||
|
@ -45,7 +45,7 @@ class NhatTruyenS : WPComics(
|
||||||
status = info.select("li.status p.col-xs-8").text().toStatus()
|
status = info.select("li.status p.col-xs-8").text().toStatus()
|
||||||
genre = info.select("li.kind p.col-xs-8 a").joinToString { it.text() }
|
genre = info.select("li.kind p.col-xs-8 a").joinToString { it.text() }
|
||||||
val otherName = info.select("h2.other-name").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 ""
|
if (otherName.isNotBlank()) "\n\n ${intl["OTHER_NAME"]}: $otherName" else ""
|
||||||
thumbnail_url = imageOrNull(info.select("div.col-image img").first()!!)
|
thumbnail_url = imageOrNull(info.select("div.col-image img").first()!!)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue