Fix HDMovie5.kt and None in homepage

This commit is contained in:
Blatzar 2022-07-31 16:20:48 +02:00
parent e32f99d8a7
commit 65804d7739
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import com.lagradost.cloudstream3.utils.loadExtractor
import org.jsoup.Jsoup import org.jsoup.Jsoup
class HDMovie5 : MainAPI() { class HDMovie5 : MainAPI() {
override var mainUrl = "https://hdmovie2.art" override var mainUrl = "https://hdmovie2.click"
override var name = "HDMovie" override var name = "HDMovie"
override var lang = "hi" override var lang = "hi"

View file

@ -256,6 +256,8 @@ class HomeViewModel : ViewModel() {
} }
else -> Unit else -> Unit
} }
} else {
_page.postValue(Resource.Success(emptyMap()))
} }
} }