From 6f15c8aa147cfda774e7cea3f0ed5df50aedd501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20S=C3=A1nchez?= Date: Mon, 12 Dec 2022 23:33:25 -0300 Subject: [PATCH] Update MundoDonghuaProvider.kt --- .../src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt index a0d0635..8a639c9 100644 --- a/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt +++ b/MundoDonghuaProvider/src/main/kotlin/com/lagradost/MundoDonghuaProvider.kt @@ -104,7 +104,7 @@ class MundoDonghuaProvider : MainAPI() { else -> null } var counter = 0 - val specialEpisodes = docSpecial.select(".col-xs-4").mapNotNull { + val specialEpisodes = docSpecial.select("div.row .col-xs-4").mapNotNull { counter++ if (counter < 7) { val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: "" @@ -123,7 +123,7 @@ class MundoDonghuaProvider : MainAPI() { val link = it.attr("href") Episode(fixUrl(link), name) }.reversed() - val episodesFinal = specialEpisodes + val episodesFinal = episodes + specialEpisodes val typeinfo = doc.select("div.row div.col-md-6.pl-15 p.fc-dark").text() val tvType = if (typeinfo.contains(Regex("Tipo.*Pel.cula"))) TvType.AnimeMovie else TvType.Anime return newAnimeLoadResponse(title, url, tvType) {