[RU]Nudemoon fix image list parse (#11757)
All checks were successful
CI / Prepare job (push) Successful in 5s
CI / Build individual modules (push) Successful in 6m29s
CI / Publish repo (push) Successful in 1m42s

* Increment version code from 25 to 26

* Update image selection criteria in pageListParse
This commit is contained in:
abubaca4 2025-11-22 20:30:08 +03:00 committed by Draff
parent 9dbe2bd9ac
commit d9df2955e9
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Nude-Moon'
extClass = '.Nudemoon'
extVersionCode = 25
extVersionCode = 26
isNsfw = true
}

View File

@ -248,7 +248,7 @@ class Nudemoon : ParsedHttpSource(), ConfigurableSource {
}
override fun pageListParse(response: Response): List<Page> = mutableListOf<Page>().apply {
response.asJsoup().select("""img.border[title~=.+]""").mapIndexed { index, img ->
response.asJsoup().select("""img[title~=.+][loading="lazy"]""").mapIndexed { index, img ->
add(Page(index, imageUrl = img.attr("abs:data-src")))
}
if (isEmpty() && cookieManager.getCookie(baseUrl).contains("fusion_user").not()) {