parent
756875f488
commit
2c0e9ee6a7
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'VCPVMP'
|
||||
pkgNameSuffix = "es.vcpvmp"
|
||||
extClass = '.VCPVMPFactory'
|
||||
extVersionCode = 7
|
||||
extVersionCode = 8
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ open class VCPVMP(override val name: String, override val baseUrl: String) : Par
|
|||
element.select("a.popimg").first()!!.let {
|
||||
setUrlWithoutDomain(it.attr("href"))
|
||||
title = it.select("img").attr("alt")
|
||||
thumbnail_url = it.select("img").attr("abs:src").substringBefore("?")
|
||||
thumbnail_url = it.select("img:not(noscript img)").attr("abs:data-src")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -75,9 +75,9 @@ open class VCPVMP(override val name: String, override val baseUrl: String) : Par
|
|||
override fun chapterListSelector() = throw UnsupportedOperationException("Not used")
|
||||
override fun chapterFromElement(element: Element) = throw UnsupportedOperationException("Not used")
|
||||
|
||||
protected open val pageListSelector = "div.wp-content p > img"
|
||||
protected open val pageListSelector = "div.wp-content p > img:not(noscript img)"
|
||||
override fun pageListParse(document: Document): List<Page> = document.select(pageListSelector)
|
||||
.mapIndexed { i, img -> Page(i, "", img.attr("abs:src")) }
|
||||
.mapIndexed { i, img -> Page(i, "", img.attr("abs:data-src")) }
|
||||
|
||||
override fun imageUrlParse(document: Document) = throw UnsupportedOperationException("Not used")
|
||||
|
||||
|
|
Loading…
Reference in New Issue