Astratoons: Fix no pages found (#9451)

Fix no pages found
This commit is contained in:
Chopper 2025-06-27 15:01:46 -03:00 committed by Draff
parent 791d203f42
commit e9a8b1b19a
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 = 1
extVersionCode = 2
isNsfw = false
}

View File

@ -119,8 +119,8 @@ class Astratoons : ParsedHttpSource() {
// ======================== Pages ===========================
override fun pageListParse(document: Document): List<Page> {
return document.select(".chapter-image-wrapper img").mapIndexed { index, element ->
Page(index, imageUrl = element.absUrl("src"))
return document.select(".chapter-image-canvas").mapIndexed { index, element ->
Page(index, imageUrl = element.absUrl("data-src-url"))
}
}