Update MundoDonghuaProvider.kt

This commit is contained in:
Diego Sánchez 2022-12-12 16:30:35 -03:00 committed by GitHub
parent ab1881bd8f
commit 315f5faeb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ class MundoDonghuaProvider : MainAPI() {
else -> null else -> null
} }
var counter = 0 var counter = 0
val specialEpisodes = app.get(mainUrl, timeout = 120).document.select(".col-xs-4").map { val specialEpisodes = app.get(mainUrl, timeout = 120).document.select("div.row .col-xs-4").map {
counter = counter + 1 counter = counter + 1
if (counter < 7) { if (counter < 7) {
val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: "" val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: ""