diff --git a/src/es/vcpvmp/build.gradle b/src/es/vcpvmp/build.gradle index c81ce99f3..0e404fd63 100644 --- a/src/es/vcpvmp/build.gradle +++ b/src/es/vcpvmp/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'VCPVMP' pkgNameSuffix = "es.vcpvmp" extClass = '.VCPVMPFactory' - extVersionCode = 7 + extVersionCode = 8 isNsfw = true } diff --git a/src/es/vcpvmp/src/eu/kanade/tachiyomi/extension/es/vcpvmp/VCPVMP.kt b/src/es/vcpvmp/src/eu/kanade/tachiyomi/extension/es/vcpvmp/VCPVMP.kt index 3dffe2d9b..9119e3fea 100644 --- a/src/es/vcpvmp/src/eu/kanade/tachiyomi/extension/es/vcpvmp/VCPVMP.kt +++ b/src/es/vcpvmp/src/eu/kanade/tachiyomi/extension/es/vcpvmp/VCPVMP.kt @@ -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 = 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")