HanhanKuman thumbnails (#1622)

HanhanKuman thumbnails
This commit is contained in:
Mike 2019-10-07 21:59:29 -04:00 committed by arkon
parent 824f31e181
commit e5b4c01cd2
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Hanhankuman'
pkgNameSuffix = 'zh.hanhankuman'
extClass = '.HanhanKuman'
extVersionCode = 1
extVersionCode = 2
libVersion = '1.2'
}

View File

@ -49,7 +49,7 @@ class HanhanKuman : ParsedHttpSource() {
manga.url = element.select("a").first()!!.attr("href")
manga.title = element.select("span.cComicTitle").text().trim()
manga.author = element.select("span.cComicAuthor").first()?.text()?.trim()
manga.thumbnail_url = element.select("div.cListSlt > a > img").attr("src")
manga.thumbnail_url = element.select("div.cListSlt > a > img").attr("abs:src")
manga.description = element.select(".cComicMemo").text().trim()
return manga
@ -60,7 +60,7 @@ class HanhanKuman : ParsedHttpSource() {
element.select("a").first().let {
manga.setUrlWithoutDomain(it.attr("href"))
manga.title = it.attr("title").trim()
manga.thumbnail_url = it.select("img").attr("src").trim()
manga.thumbnail_url = it.select("img").attr("abs:src").trim()
}
return manga
}