Update MundoDonghuaProvider.kt

This commit is contained in:
Diego Sánchez 2022-12-13 00:44:33 -03:00 committed by GitHub
parent a436f9dca8
commit eb2999a583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ class MundoDonghuaProvider : MainAPI() {
"Finalizada" -> ShowStatus.Completed "Finalizada" -> ShowStatus.Completed
else -> null else -> null
} }
val specialEpisodes = docSpecial.selectFirst("div.sm-row.bg-white div.row")?.select(".col-xs-4")?.mapNotNull { val specialEpisodes = docSpecial.selectFirst("div.sm-row.bg-white.pt-10.pr-20.pb-15.pl-20 div.row")?.select(".col-xs-4")?.mapNotNull {
val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: "" val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: ""
val link = it.selectFirst("a")?.attr("href") ?: "" val link = it.selectFirst("a")?.attr("href") ?: ""
if (name.contains(title, true)) { if (name.contains(title, true)) {