TruyenQQ - details thumbnail_url (#2092)

TruyenQQ - details thumbnail_url
This commit is contained in:
happywillow0 2020-01-18 16:15:36 -05:00 committed by arkon
parent 6493f047f7
commit 7a7915358c
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: TruyenQQ' appName = 'Tachiyomi: TruyenQQ'
pkgNameSuffix = 'vi.truyenqq' pkgNameSuffix = 'vi.truyenqq'
extClass = '.TruyenQQ' extClass = '.TruyenQQ'
extVersionCode = 1 extVersionCode = 2
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -66,7 +66,7 @@ class TruyenQQ : ParsedHttpSource() {
val glist = document.select(".list01 li").map { it.text() } val glist = document.select(".list01 li").map { it.text() }
genre = glist.joinToString(", ") genre = glist.joinToString(", ")
description = document.select(".story-detail-info").text() description = document.select(".story-detail-info").text()
thumbnail_url = document.select("div.left img").attr("src")
status = when (document.select(".info-item:eq(2)").text().substringAfter(":").trim()) { status = when (document.select(".info-item:eq(2)").text().substringAfter(":").trim()) {
"Đang Cập Nhật" -> SManga.ONGOING "Đang Cập Nhật" -> SManga.ONGOING
//"" -> SManga.COMPLETED //"" -> SManga.COMPLETED