Hentai2Read: fix cover (#2175)

This commit is contained in:
Vetle Ledaal 2024-03-30 12:00:18 +00:00 committed by Draff
parent 57e3fdfe6a
commit 908373a885
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Hentai2Read'
extClass = '.Hentai2Read'
extVersionCode = 15
extVersionCode = 16
isNsfw = true
}

View File

@ -162,7 +162,7 @@ class Hentai2Read : ParsedHttpSource() {
manga.genre = infoElement.select("li:contains(Category) > a, li:contains(Content) > a").joinToString(", ") { it.text() }
manga.description = buildDescription(infoElement)
manga.status = infoElement.select("li:contains(Status) > a").text().orEmpty().let { parseStatus(it) }
manga.thumbnail_url = document.select("a#js-linkNext > img").attr("src")
manga.thumbnail_url = document.select("a#js-linkNext img").attr("src")
manga.title = document.select("h3.block-title > a").first()!!.ownText().trim()
return manga
}