Update Interface Moviehab.kt (#439)

Inteface
This commit is contained in:
Peigie 2023-12-09 18:45:50 +08:00 committed by GitHub
parent 1922d6dc26
commit d90b38f12c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,16 +23,13 @@ class Moviehab : MainAPI() {
)
companion object {
private const val mainServer = "https://vivamax.asia"
private const val mainServer = "https://nowshowing.to"
}
override val mainPage = mainPageOf(
"$mainUrl/library/movies?sort_by=imdb_rate&page=" to "Movies by IMDB Rating",
"$mainUrl/library/shows?&sort_by=imdb_rate&page=" to "TV Shows by IMDB Rating",
"$mainUrl/library/movies?&sort_by=year&page=" to "New Movies",
"$mainUrl/library/shows?&sort_by=year&page=" to "New TV Shows",
"$mainUrl/library/movies?country=Philippines&sort_by=year&page=" to "New Philippines Movies",
"$mainUrl/library/shows?&country=Philippines&sort_by=year&page=" to "New Philippines TV Shows",
"$mainUrl/category/movies/" to "New Movies",
"$mainUrl/category/tv-series/" to "New TV Shows",
"$mainUrl/category/coming-soon/" to "Coming Soon",
)
override suspend fun getMainPage(