From 38ac4af7cb04ac84ea7a7fd1d1ff690a2c6cdf5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20S=C3=A1nchez?= Date: Mon, 12 Dec 2022 22:58:01 -0300 Subject: [PATCH] Update MundoDonghuaProvider.kt --- .../src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt index 9abb66f..f9aebc8 100644 --- a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt +++ b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt @@ -103,11 +103,13 @@ class MundoDonghuaProvider : MainAPI() { "Finalizada" -> ShowStatus.Completed else -> null } - val specialEpisodes = docSpecial.select("div.row .col-xs-4").map { + val specialEpisodes = docSpecial.select(".col-xs-4").map { val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: "" val link = it.selectFirst("a")?.attr("href") ?: "" if (name.contains(title, true)) { Episode(fixUrl(link), name) + } else { + Episode(fixUrl(link), "Testing") } }.reversed() val episodes = doc.select("ul.donghua-list a").map {