Fix no description NettruyenCO and Update domain NettruyenCO (#3051)

* Update domain and fix no description NettruyenCO

* Update bump
This commit is contained in:
are-are-are 2024-05-17 18:46:48 +07:00 committed by Draff
parent 769280bbb6
commit 3c4c79eea4
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -8,7 +8,7 @@ import java.util.Locale
class NetTruyenCO : WPComics(
"NetTruyenCO (unoriginal)",
"https://nettruyenco.vn",
"https://nettruyencc.com",
"vi",
dateFormat = SimpleDateFormat("dd/MM/yy", Locale.getDefault()),
gmtOffset = null,
@ -23,7 +23,7 @@ class NetTruyenCO : 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 div.nth-child(3)").text() +
description = info.select("div.detail-content div.shortened").text() +
if (otherName.isNotBlank()) "\n\n ${intl["OTHER_NAME"]}: $otherName" else ""
thumbnail_url = imageOrNull(info.select("div.col-image img").first()!!)
}