Merge remote-tracking branch 'origin/master'

This commit is contained in:
jack 2023-12-09 18:24:03 +07:00
commit 96c8017fe8
1 changed files with 4 additions and 7 deletions

View File

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