From d9b7974dbe710c5ed35847b8ed2d7a995a000028 Mon Sep 17 00:00:00 2001 From: Clyzer Date: Mon, 12 Dec 2022 15:32:47 -0300 Subject: [PATCH] Removing Debugging Stuff --- .../src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt index 6b3f994..0f8f7b5 100644 --- a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt +++ b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt @@ -103,12 +103,12 @@ class MundoDonghuaProvider : MainAPI() { else -> null } var counter = 0 - val specialEpisodes = app.get(mainUrl, timeout = 120).document.select("div.row .col-xs-4").map { + val specialEpisodes = app.get(mainUrl, timeout = 120).document.select(".col-xs-4").map { counter = counter + 1 if (counter < 7){ 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" + val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") + val link = it.selectFirst("a")?.attr("href") Episode(fixUrl(link), name) } }