Get absolute URLs for ReadComicOnline covers (fixes #394)
This commit is contained in:
parent
289de074c8
commit
91912fa009
src/en/readcomiconline
@ -5,9 +5,9 @@ ext {
|
|||||||
appName = 'Tachiyomi: ReadComicOnline'
|
appName = 'Tachiyomi: ReadComicOnline'
|
||||||
pkgNameSuffix = "en.readcomiconline"
|
pkgNameSuffix = "en.readcomiconline"
|
||||||
extClass = '.Readcomiconline'
|
extClass = '.Readcomiconline'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
extVersionSuffix = 2
|
extVersionSuffix = 3
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -86,7 +86,7 @@ class Readcomiconline : ParsedHttpSource() {
|
|||||||
manga.genre = infoElement.select("p:has(span:contains(Genres:)) > *:gt(0)").text()
|
manga.genre = infoElement.select("p:has(span:contains(Genres:)) > *:gt(0)").text()
|
||||||
manga.description = infoElement.select("p:has(span:contains(Summary:)) ~ p").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.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
|
return manga
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -194,4 +194,4 @@ class Readcomiconline : ParsedHttpSource() {
|
|||||||
Genre("Western"),
|
Genre("Western"),
|
||||||
Genre("Zombies")
|
Genre("Zombies")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user