fix baozi img url when page need a confirm (#17297)
* baozi: use data-src as img url * bump
This commit is contained in:
parent
52b2ef26fb
commit
15d527bac9
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'Baozi Manhua'
|
||||
pkgNameSuffix = 'zh.baozimanhua'
|
||||
extClass = '.Baozi'
|
||||
extVersionCode = 19
|
||||
extVersionCode = 20
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -144,7 +144,7 @@ class Baozi : ParsedHttpSource(), ConfigurableSource {
|
||||
document.select(".comic-contain amp-img").dropWhile { element ->
|
||||
element.selectFirst(pageNumberSelector)!!.text().substringBefore('/').toInt() <= i
|
||||
}.mapTo(pageList) { element ->
|
||||
Page(i++, imageUrl = element.attr("src"))
|
||||
Page(i++, imageUrl = element.attr("data-src"))
|
||||
}
|
||||
url = document.selectFirst(Evaluator.Id("next-chapter"))
|
||||
?.takeIf {
|
||||
|
Loading…
x
Reference in New Issue
Block a user