VyvyManga: Fix thumbnails (#8618)
* VyvyManga: Bump extVersionCode * VyvyManga: Update search thumbnail selector * VyvyManga: Update entry thumbnail selector
This commit is contained in:
parent
548d76cfc6
commit
5e02defd77
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'VyvyManga'
|
extName = 'VyvyManga'
|
||||||
extClass = '.VyvyManga'
|
extClass = '.VyvyManga'
|
||||||
extVersionCode = 37
|
extVersionCode = 38
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ class VyvyManga : ParsedHttpSource() {
|
|||||||
override fun searchMangaFromElement(element: Element): SManga = SManga.create().apply {
|
override fun searchMangaFromElement(element: Element): SManga = SManga.create().apply {
|
||||||
setUrlWithoutDomain(element.selectFirst("a")!!.absUrl("href"))
|
setUrlWithoutDomain(element.selectFirst("a")!!.absUrl("href"))
|
||||||
title = element.selectFirst(".comic-title")!!.text()
|
title = element.selectFirst(".comic-title")!!.text()
|
||||||
thumbnail_url = element.selectFirst(".comic-image")!!.absUrl("data-background-image")
|
thumbnail_url = element.selectFirst(".comic-image img.image.lozad")!!.absUrl("data-src")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun searchMangaNextPageSelector(): String = "[rel=next]"
|
override fun searchMangaNextPageSelector(): String = "[rel=next]"
|
||||||
@ -99,7 +99,7 @@ class VyvyManga : ParsedHttpSource() {
|
|||||||
"Completed" -> SManga.COMPLETED
|
"Completed" -> SManga.COMPLETED
|
||||||
else -> SManga.UNKNOWN
|
else -> SManga.UNKNOWN
|
||||||
}
|
}
|
||||||
thumbnail_url = document.selectFirst(".img-manga")!!.absUrl("src")
|
thumbnail_url = document.selectFirst(".img-manga img")!!.absUrl("src")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Chapters
|
// Chapters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user