mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
Cartoon18: fix page selector (#5164)
This commit is contained in:
parent
a72df901eb
commit
86e39ec938
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Cartoon18'
|
||||
extClass = '.Cartoon18'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -114,7 +114,7 @@ class Cartoon18 : HttpSource(), ConfigurableSource {
|
||||
|
||||
override fun pageListParse(response: Response): List<Page> {
|
||||
val document = response.asJsoup()
|
||||
val images = document.select("div#lightgallery a img")
|
||||
val images = document.select("div#app > div > a img")
|
||||
return images.mapIndexed { index, image ->
|
||||
Page(index, imageUrl = image.attr("src"))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user