mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
Update MundoDonghuaProvider.kt
This commit is contained in:
parent
242722d1b4
commit
f50af8b6f4
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class MundoDonghuaProvider : MainAPI() {
|
|||
val specialEpisodes = app.get(mainUrl, timeout = 120).document.select(".col-xs-4").map {
|
||||
counter = counter + 1
|
||||
if (counter < 7){
|
||||
condition = it.selectFirst("h5")?.text()?.lowercase()?.contains(title.lowercase())
|
||||
condition = it.selectFirst("h5")?.text()?.lowercase()?.contains(title.lowercase()) ?: false
|
||||
if (condition != null && condition == true) {
|
||||
val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: ""
|
||||
val link = it.selectFirst("a")?.attr("href") ?: ""
|
||||
|
|
Loading…
Reference in a new issue