ufdub: fix recommendations
This commit is contained in:
parent
4052315c08
commit
58039ee6d0
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 3
|
version = 4
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -90,8 +90,10 @@ class UFDubProvider : MainAPI() {
|
||||||
// val author = someInfo.select("strong:contains(Студія:)").next().html()
|
// val author = someInfo.select("strong:contains(Студія:)").next().html()
|
||||||
val rating = toRatingInt(document.select(".fp-rate"))
|
val rating = toRatingInt(document.select(".fp-rate"))
|
||||||
|
|
||||||
val recommendations = document.select(".horizontal ul").map {
|
val recommendations = document.select(".rel").map {
|
||||||
it.toSearchResponse()
|
newMovieSearchResponse(it.select(".img-box img").attr("alt"), it.attr("href"), TvType.Anime) {
|
||||||
|
this.posterUrl = "$mainUrl${it.select(".img-box img").attr("src")}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
someInfo.select(".full-info div.fi-col-item")
|
someInfo.select(".full-info div.fi-col-item")
|
||||||
|
|
Loading…
Reference in a new issue