mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
NullPointerException Fixed
This commit is contained in:
parent
518a02b8f0
commit
4be008c333
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class MundoDonghuaProvider : MainAPI() {
|
||||||
"Finalizada" -> ShowStatus.Completed
|
"Finalizada" -> ShowStatus.Completed
|
||||||
else -> null
|
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 {
|
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) {
|
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 name = it.selectFirst("sf fc-dark f-bold")?.text()?.replace("Episodio","-") ?: "fallo"
|
||||||
val link = it.attr("href")
|
val link = it.attr("href")
|
||||||
|
|
Loading…
Reference in a new issue