mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
try to get high res images
This commit is contained in:
parent
3a510a2153
commit
98da7fa3ee
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 2
|
version = 3
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -32,7 +32,7 @@ class GuardaSerieProvider : MainAPI() {
|
||||||
val home = soup.select("div.mlnew").drop(1).map { series ->
|
val home = soup.select("div.mlnew").drop(1).map { series ->
|
||||||
val title = series.selectFirst("div.mlnh-2")!!.text()
|
val title = series.selectFirst("div.mlnh-2")!!.text()
|
||||||
val link = series.selectFirst("div.mlnh-2 > h2 > a")!!.attr("href")
|
val link = series.selectFirst("div.mlnh-2 > h2 > a")!!.attr("href")
|
||||||
val posterUrl = fixUrl(series.selectFirst("img")!!.attr("src"))
|
val posterUrl = fixUrl(series.selectFirst("img")!!.attr("src")).replace("/60x85-0-85/", "/141x200-0-85/")
|
||||||
|
|
||||||
newTvSeriesSearchResponse(
|
newTvSeriesSearchResponse(
|
||||||
title,
|
title,
|
||||||
|
@ -57,7 +57,7 @@ class GuardaSerieProvider : MainAPI() {
|
||||||
return doc.select("div.mlnew").drop(1).map { series ->
|
return doc.select("div.mlnew").drop(1).map { series ->
|
||||||
val title = series.selectFirst("div.mlnh-2")!!.text()
|
val title = series.selectFirst("div.mlnh-2")!!.text()
|
||||||
val link = series.selectFirst("div.mlnh-2 > h2 > a")!!.attr("href")
|
val link = series.selectFirst("div.mlnh-2 > h2 > a")!!.attr("href")
|
||||||
val posterUrl = fixUrl(series.selectFirst("img")!!.attr("src"))
|
val posterUrl = fixUrl(series.selectFirst("img")!!.attr("src")).replace("/60x85-0-85/", "/141x200-0-85/")
|
||||||
newMovieSearchResponse(
|
newMovieSearchResponse(
|
||||||
title,
|
title,
|
||||||
link,
|
link,
|
||||||
|
@ -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")).replace("/141x200-0-85/", "/60x85-0-85/")
|
val poster = fixUrl(document.selectFirst("#cover")!!.attr("src"))
|
||||||
|
|
||||||
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