From 721759582d62c5770cb934668ed1308fde7cfb5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20S=C3=A1nchez?= Date: Mon, 12 Dec 2022 23:49:55 -0300 Subject: [PATCH] Final commit with all fixed --- .../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 7641834..2fb0641 100644 --- a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt +++ b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt @@ -103,7 +103,7 @@ class MundoDonghuaProvider : MainAPI() { "Finalizada" -> ShowStatus.Completed else -> null } - val specialEpisodes = docSpecial.selectFirst("div.row")?.select(".col-xs-4").mapNotNull { + val specialEpisodes = docSpecial.selectFirst("div.row")?.select(".col-xs-4")?.mapNotNull { val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: "" val link = it.selectFirst("a")?.attr("href") ?: "" if (name.contains(title, true)) {