Removing Debugging Stuff

This commit is contained in:
Clyzer 2022-12-12 15:32:47 -03:00
parent 4c44359f96
commit d9b7974dbe
1 changed files with 3 additions and 3 deletions

View File

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