KoinoboriScan: Fix pages not found (#5799)

update selector
This commit is contained in:
bapeey 2024-10-31 02:29:21 -05:00 committed by GitHub
parent 2830a0a1a9
commit a1bf3fb4c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Koinobori Scan' extName = 'Koinobori Scan'
extClass = '.KoinoboriScan' extClass = '.KoinoboriScan'
extVersionCode = 38 extVersionCode = 39
isNsfw = true isNsfw = true
} }

View File

@ -162,7 +162,7 @@ class KoinoboriScan : HttpSource() {
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("body > div.w-full > div > img").mapIndexed { i, img -> return document.select("div.relative > img[src]").mapIndexed { i, img ->
Page(i, imageUrl = img.attr("abs:src")) Page(i, imageUrl = img.attr("abs:src"))
} }
} }