get original image quality (#4040)

This commit is contained in:
AwkwardPeak7 2024-07-17 14:55:30 +05:00 committed by Draff
parent 07546397ac
commit 5393c9dd11
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -2,4 +2,4 @@ plugins {
id("lib-multisrc")
}
baseVersionCode = 3
baseVersionCode = 4

View File

@ -130,8 +130,8 @@ abstract class GravureBlogger(
override fun pageListParse(response: Response): List<Page> {
val document = response.asJsoup()
return document.select("div.post-body img").mapIndexed { i, it ->
Page(i, imageUrl = it.absUrl("src"))
return document.select("div.post-body a:has(> img)").mapIndexed { i, it ->
Page(i, imageUrl = it.absUrl("href"))
}
}