MangaTaro: fix chapter name (#11246)
This commit is contained in:
parent
5a004d08f5
commit
2b394c8c38
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'MangaTaro'
|
extName = 'MangaTaro'
|
||||||
extClass = '.MangaTaro'
|
extClass = '.MangaTaro'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = false
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user