TraduccionesMoonlight: Fix images not loading (#10834)

fix images not loading
This commit is contained in:
bapeey 2025-10-02 16:52:25 -05:00 committed by Draff
parent 64d08b63ee
commit 97ab81e855
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.TraduccionesMoonlight'
themePkg = 'mangaesp'
baseUrl = 'https://traduccionesmoonlight.com'
overrideVersionCode = 39
overrideVersionCode = 40
isNsfw = true
}

View File

@ -27,8 +27,8 @@ class TraduccionesMoonlight : MangaEsp(
}
doc = client.newCall(POST(url, headers, body.build())).execute().asJsoup()
}
return doc.select("main.contenedor.read img, main > img[src]").mapIndexed { i, element ->
Page(i, imageUrl = element.attr("abs:src"))
return doc.select("main.contenedor.read img, main > img").mapIndexed { i, element ->
Page(i, imageUrl = element.imgAttr())
}
}
}