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
c9c86085e6
commit
38ac4af7cb
1 changed files with 3 additions and 1 deletions
|
@ -103,11 +103,13 @@ class MundoDonghuaProvider : MainAPI() {
|
||||||
"Finalizada" -> ShowStatus.Completed
|
"Finalizada" -> ShowStatus.Completed
|
||||||
else -> null
|
else -> null
|
||||||
}
|
}
|
||||||
val specialEpisodes = docSpecial.select("div.row .col-xs-4").map {
|
val specialEpisodes = docSpecial.select(".col-xs-4").map {
|
||||||
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)) {
|
||||||
Episode(fixUrl(link), name)
|
Episode(fixUrl(link), name)
|
||||||
|
} else {
|
||||||
|
Episode(fixUrl(link), "Testing")
|
||||||
}
|
}
|
||||||
}.reversed()
|
}.reversed()
|
||||||
val episodes = doc.select("ul.donghua-list a").map {
|
val episodes = doc.select("ul.donghua-list a").map {
|
||||||
|
|
Loading…
Reference in a new issue