Astratoons: fix chapters pages not found (#9820)
Astratoons: fix chapters pages
This commit is contained in:
parent
e6b34e2b2d
commit
17fb3be9b6
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Astratoons'
|
||||
extClass = '.Astratoons'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
|
@ -119,8 +119,8 @@ class Astratoons : ParsedHttpSource() {
|
||||
// ======================== Pages ===========================
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return document.select(".chapter-image-canvas").mapIndexed { index, element ->
|
||||
Page(index, imageUrl = element.absUrl("data-src-url"))
|
||||
return document.select("img.chapter-image").mapIndexed { index, element ->
|
||||
Page(index, imageUrl = element.absUrl("src"))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user