From 4c44359f9626f406c740e1709a1d52c9c16393ae Mon Sep 17 00:00:00 2001 From: Clyzer Date: Mon, 12 Dec 2022 15:23:11 -0300 Subject: [PATCH] Fixed special episodes in MundoDonghua Provider --- .../src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt index e2038ca..6b3f994 100644 --- a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt +++ b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt @@ -106,7 +106,7 @@ class MundoDonghuaProvider : MainAPI() { val specialEpisodes = app.get(mainUrl, timeout = 120).document.select("div.row .col-xs-4").map { counter = counter + 1 if (counter < 7){ - if (it.selectFirst("h5")?.text()?.toLowerCase()?.contains(title.toLowerCase()) ?: false) { + if (it.selectFirst("h5")?.text()?.lowercase()?.contains(title.lowercase()) ?: false) { val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: "fallo" val link = it.selectFirst("a")?.attr("href") ?: "fallo" Episode(fixUrl(link), name)