Update MundoDonghuaProvider.kt

This commit is contained in:
Diego Sánchez 2022-12-12 16:13:37 -03:00 committed by GitHub
parent 78d044bf87
commit f0a1d04b1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class MundoDonghuaProvider : MainAPI() {
var counter = 0
val specialEpisodes = app.get(mainUrl, timeout = 120).document.select(".col-xs-4").map {
counter = counter + 1
if (counter < 7)
if (counter < 7) {
val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: ""
val link = it.selectFirst("a")?.attr("href") ?: ""
if (name.lowercase().contains(title.lowercase())) {