Tapas - Add Thumbnail to Details (#2544)

This commit is contained in:
happywillow0 2020-03-29 16:17:37 -04:00 committed by GitHub
parent 9f706ad4bc
commit 3eae663d92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Tapas' appName = 'Tachiyomi: Tapas'
pkgNameSuffix = 'en.tapastic' pkgNameSuffix = 'en.tapastic'
extClass = '.Tapastic' extClass = '.Tapastic'
extVersionCode = 6 extVersionCode = 7
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -95,6 +95,7 @@ class Tapastic : ParsedHttpSource() {
description = document.select(".js-series-description").text().trim() description = document.select(".js-series-description").text().trim()
genre = document.select("div.info__genre a, div.item__genre a") genre = document.select("div.info__genre a, div.item__genre a")
.joinToString(", ") { it.text() } .joinToString(", ") { it.text() }
thumbnail_url = document.select("div.header__thumb img").attr("src")
} }
//Chapters //Chapters