diff --git a/src/en/webtoons/build.gradle b/src/en/webtoons/build.gradle index 78236f2ab..66f6e6c30 100644 --- a/src/en/webtoons/build.gradle +++ b/src/en/webtoons/build.gradle @@ -5,9 +5,9 @@ ext { appName = 'Tachiyomi: Webtoons' pkgNameSuffix = "en.webtoons" extClass = '.Webtoons' - extVersionCode = 1 + extVersionCode = 2 extVersionSuffix = 1 - libVersion = '1.0' + libVersion = '1.2' } apply from: "$rootDir/common.gradle" diff --git a/src/en/webtoons/res/mipmap-hdpi/ic_launcher.png b/src/en/webtoons/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..57432f520 Binary files /dev/null and b/src/en/webtoons/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/en/webtoons/res/mipmap-mdpi/ic_launcher.png b/src/en/webtoons/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..eac699395 Binary files /dev/null and b/src/en/webtoons/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/en/webtoons/res/mipmap-xhdpi/ic_launcher.png b/src/en/webtoons/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..0545ab944 Binary files /dev/null and b/src/en/webtoons/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/en/webtoons/res/mipmap-xxhdpi/ic_launcher.png b/src/en/webtoons/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..780faa922 Binary files /dev/null and b/src/en/webtoons/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/en/webtoons/res/mipmap-xxxhdpi/ic_launcher.png b/src/en/webtoons/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..6b7af1a03 Binary files /dev/null and b/src/en/webtoons/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/en/webtoons/res/web_hi_res_512.png b/src/en/webtoons/res/web_hi_res_512.png new file mode 100644 index 000000000..f22230132 Binary files /dev/null and b/src/en/webtoons/res/web_hi_res_512.png differ 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 4e28269f5..a65fc1721 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 @@ -33,7 +33,9 @@ class Webtoons : ParsedHttpSource() { Calendar.THURSDAY -> "div._list_THURSDAY" Calendar.FRIDAY -> "div._list_FRIDAY" Calendar.SATURDAY -> "div._list_SATURDAY" - else -> { "div" } + else -> { + "div" + } } } @@ -132,6 +134,10 @@ class Webtoons : ParsedHttpSource() { val chapter = SChapter.create() chapter.setUrlWithoutDomain(urlElement.attr("href")) 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() + } 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 }