Astratoons: fix chapters pages not found (#9820)

Astratoons: fix chapters pages
This commit is contained in:
whitebeardhelper 2025-07-28 07:42:26 -03:00 committed by Draff
parent e6b34e2b2d
commit 17fb3be9b6
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Astratoons'
extClass = '.Astratoons'
extVersionCode = 2
extVersionCode = 3
isNsfw = false
}

View File

@ -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"))
}
}