Fix CSS selectors for Author's Notes in Webtoons (#17151)
* Fix CSS selectors for Author's Notes in Webtoons * Bump Webtoons code version
This commit is contained in:
parent
1674bf1d6e
commit
ce701c82e3
|
@ -57,10 +57,10 @@ open class WebtoonsSrc(
|
|||
var pages = document.select("div#_imageList > img").mapIndexed { i, element -> Page(i, "", element.attr("data-url")) }
|
||||
|
||||
if (showAuthorsNotesPref()) {
|
||||
val note = document.select("div.comment_area div.info_area p").text()
|
||||
val note = document.select("div.creator_note p.author_text").text()
|
||||
|
||||
if (note.isNotEmpty()) {
|
||||
val creator = document.select("div.creator_note span.author a").text().trim()
|
||||
val creator = document.select("div.creator_note a.author_name span").text().trim()
|
||||
|
||||
pages = pages + Page(
|
||||
pages.size,
|
||||
|
|
|
@ -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 = 37),
|
||||
MultiLang("Webtoons.com", "https://www.webtoons.com", listOf("en", "fr", "es", "id", "th", "zh-Hant", "de"), className = "WebtoonsFactory", pkgName = "webtoons", overrideVersionCode = 38),
|
||||
SingleLang("Dongman Manhua", "https://www.dongmanmanhua.cn", "zh"),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue