mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 11:42:47 +01:00
BlogTruyen: update page list selector (#4506)
BlogTruyen: update domain
This commit is contained in:
parent
0d22495b7e
commit
cb7b1b20c3
@ -2,4 +2,4 @@ plugins {
|
|||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 1
|
baseVersionCode = 2
|
||||||
|
@ -291,7 +291,7 @@ abstract class BlogTruyen(
|
|||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
val pages = mutableListOf<Page>()
|
val pages = mutableListOf<Page>()
|
||||||
|
|
||||||
document.select("#content > img").forEachIndexed { i, e ->
|
document.select(".content > img, #content > img").forEachIndexed { i, e ->
|
||||||
pages.add(Page(i, imageUrl = e.absUrl("src")))
|
pages.add(Page(i, imageUrl = e.absUrl("src")))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user