parent
62db2f5e67
commit
9339cfcfe5
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Webtoons'
|
appName = 'Tachiyomi: Webtoons'
|
||||||
pkgNameSuffix = 'en.webtoons'
|
pkgNameSuffix = 'en.webtoons'
|
||||||
extClass = '.Webtoons'
|
extClass = '.Webtoons'
|
||||||
extVersionCode = 5
|
extVersionCode = 6
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,10 @@ class Webtoons : ParsedHttpSource() {
|
||||||
chapter.name = element.select("a > div.row > div.info > p.sub_title > span.ellipsis").text()
|
chapter.name = element.select("a > div.row > div.info > p.sub_title > span.ellipsis").text()
|
||||||
val select = element.select("a > div.row > div.num")
|
val select = element.select("a > div.row > div.num")
|
||||||
if (select.isNotEmpty()) {
|
if (select.isNotEmpty()) {
|
||||||
chapter.name = chapter.name + " Ch. " + select.text().substringAfter("#")
|
chapter.name += " Ch. " + select.text().substringAfter("#")
|
||||||
|
}
|
||||||
|
if (element.select(".ico_bgm").isNotEmpty()) {
|
||||||
|
chapter.name += " ♫"
|
||||||
}
|
}
|
||||||
chapter.date_upload = element.select("a > div.row > div.info > p.date").text()?.let { SimpleDateFormat("MMM d, yyyy", Locale.ENGLISH).parse(it).time } ?: 0
|
chapter.date_upload = element.select("a > div.row > div.info > p.date").text()?.let { SimpleDateFormat("MMM d, yyyy", Locale.ENGLISH).parse(it).time } ?: 0
|
||||||
return chapter
|
return chapter
|
||||||
|
|
Loading…
Reference in New Issue