mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
Guardaserie image fix
This commit is contained in:
parent
64101f560e
commit
0856de2f6b
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 3
|
version = 2
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -75,7 +75,7 @@ class GuardaSerieProvider : MainAPI() {
|
||||||
val description = document.selectFirst("div.tv_info_right")?.textNodes()?.joinToString("")
|
val description = document.selectFirst("div.tv_info_right")?.textNodes()?.joinToString("")
|
||||||
val rating = document.selectFirst("span.post-ratings")?.text()
|
val rating = document.selectFirst("span.post-ratings")?.text()
|
||||||
var year = document.select("div.tv_info_list > ul").find { it.text().contains("Anno") }?.text()?.substringBefore("-")?.filter { it.isDigit() }?.toIntOrNull()
|
var year = document.select("div.tv_info_list > ul").find { it.text().contains("Anno") }?.text()?.substringBefore("-")?.filter { it.isDigit() }?.toIntOrNull()
|
||||||
val poster = fixUrl(document.selectFirst("#cover")!!.attr("src"))
|
val poster = fixUrl(document.selectFirst("#cover")!!.attr("src")).replace("/141x200-0-85/", "/60x85-0-85/")
|
||||||
|
|
||||||
val episodeList = document.select("div.tab-content > div").mapIndexed { season, data ->
|
val episodeList = document.select("div.tab-content > div").mapIndexed { season, data ->
|
||||||
data.select("li").mapIndexed { epNum, epData ->
|
data.select("li").mapIndexed { epNum, epData ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue