MangaTaro: fix chapter name (#11246)

This commit is contained in:
AwkwardPeak7 2025-10-26 12:03:31 +05:00 committed by Draff
parent 5a004d08f5
commit 2b394c8c38
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'MangaTaro' extName = 'MangaTaro'
extClass = '.MangaTaro' extClass = '.MangaTaro'
extVersionCode = 1 extVersionCode = 2
isNsfw = false isNsfw = false
} }

View File

@ -249,14 +249,14 @@ class MangaTaro : HttpSource() {
setUrlWithoutDomain(it.absUrl("href")) setUrlWithoutDomain(it.absUrl("href"))
val details = it.select("> div + div > div") val details = it.select("> div + div > div")
name = buildString { name = buildString {
append(details[0].selectFirst("span")!!.ownText()) append(it.attr("title"))
details[1].text().also { title -> details[1].text().also { title ->
if (title !in placeholders) { if (title !in placeholders) {
append(": ", title) append(": ", title)
} }
} }
} }
details[2].text().let { group -> it.attr("data-group-name").let { group ->
if (group !in placeholders) { if (group !in placeholders) {
scanlator = group scanlator = group
hasScanlator = true hasScanlator = true