Baozimanhua: Fix page list (#10584)

This commit is contained in:
anenasa 2022-01-28 13:49:12 +08:00 committed by GitHub
parent 51cbbf5b62
commit 53c52b75c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Baozimanhua'
pkgNameSuffix = 'zh.baozimanhua'
extClass = '.Baozimanhua'
extVersionCode = 2
extVersionCode = 3
}
apply from: "$rootDir/common.gradle"

View File

@ -104,7 +104,7 @@ class Baozimanhua : ParsedHttpSource() {
}
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())
}
return pages