Get absolute URLs for ReadComicOnline covers (fixes #394) (#395)

Get absolute URLs for ReadComicOnline covers (fixes #394)
This commit is contained in:
Eugene 2018-07-10 22:24:15 -04:00 committed by Carlos
parent 289de074c8
commit 91912fa009
2 changed files with 5 additions and 5 deletions

View File

@ -5,9 +5,9 @@ ext {
appName = 'Tachiyomi: ReadComicOnline'
pkgNameSuffix = "en.readcomiconline"
extClass = '.Readcomiconline'
extVersionCode = 3
extVersionSuffix = 2
extVersionCode = 4
extVersionSuffix = 3
libVersion = '1.2'
}
apply from: "$rootDir/common.gradle"
apply from: "$rootDir/common.gradle"

View File

@ -86,7 +86,7 @@ class Readcomiconline : ParsedHttpSource() {
manga.genre = infoElement.select("p:has(span:contains(Genres:)) > *:gt(0)").text()
manga.description = infoElement.select("p:has(span:contains(Summary:)) ~ p").text()
manga.status = infoElement.select("p:has(span:contains(Status:))").first()?.text().orEmpty().let { parseStatus(it) }
manga.thumbnail_url = document.select(".rightBox:eq(0) img").first()?.attr("src")
manga.thumbnail_url = document.select(".rightBox:eq(0) img").first()?.absUrl("src")
return manga
}
@ -194,4 +194,4 @@ class Readcomiconline : ParsedHttpSource() {
Genre("Western"),
Genre("Zombies")
)
}
}