imhentai fix thumbnails (#14578)

This commit is contained in:
Basara-Hatake 2022-12-18 13:58:48 +01:00 committed by GitHub
parent 5e7fab98ec
commit a4605277d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'IMHentai'
pkgNameSuffix = 'all.imhentai'
extClass = '.IMHentaiFactory'
extVersionCode = 8
extVersionCode = 9
isNsfw = true
}

View File

@ -54,7 +54,7 @@ class IMHentai(override val lang: String, private val imhLang: String) : ParsedH
override fun popularMangaFromElement(element: Element): SManga {
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")) {
url = this.attr("href")
title = this.text()