Fix WebToons author's notes (#11691)
* Update Webtoons.kt * Bump WebToons extension version 32=>33
This commit is contained in:
parent
272d00b352
commit
440168ca7b
|
@ -321,12 +321,12 @@ open class Webtoons(
|
|||
var pages = document.select("div#_imageList > img").mapIndexed { i, element -> Page(i, "", element.attr("data-url")) }
|
||||
|
||||
if (showAuthorsNotesPref()) {
|
||||
val note = document.select("div.creator_note > p").text()
|
||||
val note = document.select("div.comment_area div.info_area p").text()
|
||||
|
||||
if (note.isNotEmpty()) {
|
||||
val noteImage = toImage(note, 42)
|
||||
|
||||
val creator = document.select("div.creator_note > h2").html().replace("<span>Creator</span>", "").trim()
|
||||
val creator = document.select("div.creator_note span.author a").text().trim()
|
||||
val creatorImage = toImage("Author's Notes from $creator", 43, true)
|
||||
|
||||
pages = pages + Page(pages.size, "", creatorImage)
|
||||
|
|
|
@ -13,7 +13,7 @@ class WebtoonsGenerator : ThemeSourceGenerator {
|
|||
override val baseVersionCode: Int = 2
|
||||
|
||||
override val sources = listOf(
|
||||
MultiLang("Webtoons.com", "https://www.webtoons.com", listOf("en", "fr", "es", "id", "th", "zh-Hant", "de"), className = "WebtoonsFactory", pkgName = "webtoons", overrideVersionCode = 32),
|
||||
MultiLang("Webtoons.com", "https://www.webtoons.com", listOf("en", "fr", "es", "id", "th", "zh-Hant", "de"), className = "WebtoonsFactory", pkgName = "webtoons", overrideVersionCode = 33),
|
||||
SingleLang("Dongman Manhua", "https://www.dongmanmanhua.cn", "zh")
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue