VCPVMP: Fix pages don't load (#6966)
* fix pages not all loading * enhance pageListSelector VerComics
This commit is contained in:
parent
d9822c7ef5
commit
b7409c8efd
|
@ -118,7 +118,8 @@ abstract class VerComics(
|
||||||
protected open val pageListSelector =
|
protected open val pageListSelector =
|
||||||
"div.wp-content p > img:not(noscript img), " +
|
"div.wp-content p > img:not(noscript img), " +
|
||||||
"div.wp-content div#lector > img:not(noscript img), " +
|
"div.wp-content div#lector > img:not(noscript img), " +
|
||||||
"div.wp-content > figure img:not(noscript img)"
|
"div.wp-content > figure img:not(noscript img)," +
|
||||||
|
"div.wp-content > img, div.wp-content > p img"
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> = document.select(pageListSelector)
|
override fun pageListParse(document: Document): List<Page> = document.select(pageListSelector)
|
||||||
.mapIndexed { i, img -> Page(i, imageUrl = img.imgAttr()) }
|
.mapIndexed { i, img -> Page(i, imageUrl = img.imgAttr()) }
|
||||||
|
|
Loading…
Reference in New Issue