Fix no description NettruyenCO and Update domain NettruyenCO (#3051)
* Update domain and fix no description NettruyenCO * Update bump
This commit is contained in:
parent
769280bbb6
commit
3c4c79eea4
|
@ -2,8 +2,8 @@ ext {
|
||||||
extName = 'NetTruyenCO (unoriginal)'
|
extName = 'NetTruyenCO (unoriginal)'
|
||||||
extClass = '.NetTruyenCO'
|
extClass = '.NetTruyenCO'
|
||||||
themePkg = 'wpcomics'
|
themePkg = 'wpcomics'
|
||||||
baseUrl = 'https://nettruyenco.vn'
|
baseUrl = 'https://nettruyencc.com'
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -8,7 +8,7 @@ import java.util.Locale
|
||||||
|
|
||||||
class NetTruyenCO : WPComics(
|
class NetTruyenCO : WPComics(
|
||||||
"NetTruyenCO (unoriginal)",
|
"NetTruyenCO (unoriginal)",
|
||||||
"https://nettruyenco.vn",
|
"https://nettruyencc.com",
|
||||||
"vi",
|
"vi",
|
||||||
dateFormat = SimpleDateFormat("dd/MM/yy", Locale.getDefault()),
|
dateFormat = SimpleDateFormat("dd/MM/yy", Locale.getDefault()),
|
||||||
gmtOffset = null,
|
gmtOffset = null,
|
||||||
|
@ -23,7 +23,7 @@ class NetTruyenCO : 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 div.nth-child(3)").text() +
|
description = info.select("div.detail-content div.shortened").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