[RU]Nudemoon fix image list parse (#11757)
* Increment version code from 25 to 26 * Update image selection criteria in pageListParse
This commit is contained in:
parent
9dbe2bd9ac
commit
d9df2955e9
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Nude-Moon'
|
extName = 'Nude-Moon'
|
||||||
extClass = '.Nudemoon'
|
extClass = '.Nudemoon'
|
||||||
extVersionCode = 25
|
extVersionCode = 26
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -248,7 +248,7 @@ class Nudemoon : ParsedHttpSource(), ConfigurableSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun pageListParse(response: Response): List<Page> = mutableListOf<Page>().apply {
|
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")))
|
add(Page(index, imageUrl = img.attr("abs:data-src")))
|
||||||
}
|
}
|
||||||
if (isEmpty() && cookieManager.getCookie(baseUrl).contains("fusion_user").not()) {
|
if (isEmpty() && cookieManager.getCookie(baseUrl).contains("fusion_user").not()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user