diff --git a/src/en/webtoons/build.gradle b/src/en/webtoons/build.gradle index fc233f14d..4396f6bdb 100644 --- a/src/en/webtoons/build.gradle +++ b/src/en/webtoons/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Webtoons' pkgNameSuffix = 'en.webtoons' extClass = '.Webtoons' - extVersionCode = 5 + extVersionCode = 6 libVersion = '1.2' } diff --git a/src/en/webtoons/src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt b/src/en/webtoons/src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt index 50ae6d9cf..6822fb631 100644 --- a/src/en/webtoons/src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt +++ b/src/en/webtoons/src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt @@ -145,7 +145,10 @@ class Webtoons : ParsedHttpSource() { chapter.name = element.select("a > div.row > div.info > p.sub_title > span.ellipsis").text() val select = element.select("a > div.row > div.num") 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 return chapter