uaserials: fix rating

This commit is contained in:
CakesTwix 2023-03-20 15:55:56 +02:00
parent f257f02710
commit 79539ef4a7
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825

View file

@ -91,7 +91,7 @@ class UAserialsVipProvider : MainAPI() {
val description = document.select(".full-text").text() val description = document.select(".full-text").text()
// val author = someInfo.select("strong:contains(Студія:)").next().html() // val author = someInfo.select("strong:contains(Студія:)").next().html()
val rating = document.selectFirst(".dd-imdb-colours")?.text().toRatingInt() val rating = document.selectFirst(".page__rating-item--critics div")?.text().toRatingInt()
val recommendations = document.select(".poster-item").map { val recommendations = document.select(".poster-item").map {
it.toSearchResponse() it.toSearchResponse()