Henchan: Thumbnails not displayed in library after restoring backup (#992)

Henchan: Thumbnails not displayed in library after restoring backup
This commit is contained in:
krogon500 2019-04-01 05:53:25 +05:00 committed by Carlos
parent 5297487fd3
commit 8fbcf68131
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Henchan' appName = 'Tachiyomi: Henchan'
pkgNameSuffix = 'ru.henchan' pkgNameSuffix = 'ru.henchan'
extClass = '.Henchan' extClass = '.Henchan'
extVersionCode = 8 extVersionCode = 9
libVersion = '1.2' libVersion = '1.2'
} }
dependencies { dependencies {

View File

@ -115,6 +115,7 @@ class Henchan : ParsedHttpSource() {
override fun mangaDetailsParse(document: Document): SManga { override fun mangaDetailsParse(document: Document): SManga {
val manga = SManga.create() val manga = SManga.create()
manga.thumbnail_url = document.select("#cover").first().attr("src")
manga.author = document.select(".row .item2 h2")[1].text() manga.author = document.select(".row .item2 h2")[1].text()
manga.genre = document.select(".sidetag > a:eq(2)").joinToString { it.text() } manga.genre = document.select(".sidetag > a:eq(2)").joinToString { it.text() }
manga.description = document.select("#description").text() manga.description = document.select("#description").text()