imhentai fix thumbnails (#14578)
This commit is contained in:
parent
5e7fab98ec
commit
a4605277d6
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'IMHentai'
|
extName = 'IMHentai'
|
||||||
pkgNameSuffix = 'all.imhentai'
|
pkgNameSuffix = 'all.imhentai'
|
||||||
extClass = '.IMHentaiFactory'
|
extClass = '.IMHentaiFactory'
|
||||||
extVersionCode = 8
|
extVersionCode = 9
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ class IMHentai(override val lang: String, private val imhLang: String) : ParsedH
|
||||||
|
|
||||||
override fun popularMangaFromElement(element: Element): SManga {
|
override fun popularMangaFromElement(element: Element): SManga {
|
||||||
return SManga.create().apply {
|
return SManga.create().apply {
|
||||||
thumbnail_url = element.select(".inner_thumb img").attr("src")
|
thumbnail_url = element.select(".inner_thumb img").attr("data-src")
|
||||||
with(element.select(".caption a")) {
|
with(element.select(".caption a")) {
|
||||||
url = this.attr("href")
|
url = this.attr("href")
|
||||||
title = this.text()
|
title = this.text()
|
||||||
|
|
Loading…
Reference in New Issue