mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
selection fixes
This commit is contained in:
parent
3ea701e94d
commit
d73c9f3302
1 changed files with 3 additions and 3 deletions
|
@ -103,10 +103,10 @@ class MundoDonghuaProvider : MainAPI() {
|
|||
"Finalizada" -> ShowStatus.Completed
|
||||
else -> null
|
||||
}
|
||||
val specialEpisodes = doc2.selectFirst("sm-row bg-white pt-10 pr-20 pb-15 pl-20")?.selectFirst("row")?.select("item col-lg-2 col-md-2 col-xs-4")?.map {
|
||||
if (it.selectFirst("sf fc-dark f-bold")?.text()?.contains(title) ?: false) {
|
||||
val specialEpisodes = doc2.selectFirst(".sm-row.bg-white.pt-10.pr-20.pb-15.pl-20")?.selectFirst("div.row")?.select("item col-lg-2 col-md-2 col-xs-4")?.map {
|
||||
if (it.selectFirst(".sf.fc-dark.f-bold")?.text()?.contains(title) ?: false) {
|
||||
val name = it.selectFirst("sf fc-dark f-bold")?.text()?.replace("Episodio","-") ?: "fallo"
|
||||
val link = it.attr("href")
|
||||
val link = it.selectFirst("a")?.attr("href") ?: "fallo"
|
||||
Episode(fixUrl(link), name)
|
||||
}
|
||||
}?.filterNotNull() ?: emptyList()
|
||||
|
|
Loading…
Reference in a new issue