Baozimanhua: Fix page list (#10584)
This commit is contained in:
parent
51cbbf5b62
commit
53c52b75c8
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Baozimanhua'
|
extName = 'Baozimanhua'
|
||||||
pkgNameSuffix = 'zh.baozimanhua'
|
pkgNameSuffix = 'zh.baozimanhua'
|
||||||
extClass = '.Baozimanhua'
|
extClass = '.Baozimanhua'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -104,7 +104,7 @@ class Baozimanhua : ParsedHttpSource() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
val pages = document.select("div.comic-contain > amp-img").mapIndexed() { index, element ->
|
val pages = document.select("section.comic-contain > amp-img").mapIndexed() { index, element ->
|
||||||
Page(index, imageUrl = element.attr("src").trim())
|
Page(index, imageUrl = element.attr("src").trim())
|
||||||
}
|
}
|
||||||
return pages
|
return pages
|
||||||
|
|
Loading…
Reference in New Issue