get original image quality (#4040)
This commit is contained in:
parent
07546397ac
commit
5393c9dd11
|
@ -2,4 +2,4 @@ plugins {
|
||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 3
|
baseVersionCode = 4
|
||||||
|
|
|
@ -130,8 +130,8 @@ abstract class GravureBlogger(
|
||||||
override fun pageListParse(response: Response): List<Page> {
|
override fun pageListParse(response: Response): List<Page> {
|
||||||
val document = response.asJsoup()
|
val document = response.asJsoup()
|
||||||
|
|
||||||
return document.select("div.post-body img").mapIndexed { i, it ->
|
return document.select("div.post-body a:has(> img)").mapIndexed { i, it ->
|
||||||
Page(i, imageUrl = it.absUrl("src"))
|
Page(i, imageUrl = it.absUrl("href"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue