From 2cdff514e4b6d347f75a70979d9c75bd7b03ead3 Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Sat, 3 Sep 2022 11:43:05 +0200 Subject: [PATCH] fix --- .../src/main/kotlin/com/lagradost/PhimmoichillProvider.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PhimmoichillProvider/src/main/kotlin/com/lagradost/PhimmoichillProvider.kt b/PhimmoichillProvider/src/main/kotlin/com/lagradost/PhimmoichillProvider.kt index 3092de7..1820ec8 100644 --- a/PhimmoichillProvider/src/main/kotlin/com/lagradost/PhimmoichillProvider.kt +++ b/PhimmoichillProvider/src/main/kotlin/com/lagradost/PhimmoichillProvider.kt @@ -97,10 +97,10 @@ class PhimmoichillProvider : MainAPI() { document.select("ul.entry-meta.block-film li:nth-child(7) span").text().toRatingInt() val actors = document.select("ul.entry-meta.block-film li:last-child a").map { it.text() } val recommendations = document.select("ul#list-film-realted li.item").mapNotNull { - val titleHeader = document.select("p") ?: return@mapNotNull null - val recUrl = titleHeader.attr("href")) ?: return@mapNotNull null + val titleHeader = it.select("p") ?: return@mapNotNull null + val recUrl = titleHeader.attr("href") ?: return@mapNotNull null val recTitle = titleHeader.text() ?: return@mapNotNull null - val poster = element.select("img").attr("src") + val poster = it.select("img").attr("src") MovieSearchResponse( recTitle, recUrl,