mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2025-01-31 20:01:42 +01:00
get original image quality (#4040)
This commit is contained in:
parent
09e06da7e6
commit
86c63fb980
@ -2,4 +2,4 @@ plugins {
|
||||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 3
|
||||
baseVersionCode = 4
|
||||
|
@ -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"))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user