From d90b38f12cc1ccc24dfbac58fea0a1a4de8a0125 Mon Sep 17 00:00:00 2001 From: Peigie <150321365+Peigie@users.noreply.github.com> Date: Sat, 9 Dec 2023 18:45:50 +0800 Subject: [PATCH] Update Interface Moviehab.kt (#439) Inteface --- Moviehab/src/main/kotlin/com/hexated/Moviehab.kt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Moviehab/src/main/kotlin/com/hexated/Moviehab.kt b/Moviehab/src/main/kotlin/com/hexated/Moviehab.kt index 479f980ca..21f27395c 100644 --- a/Moviehab/src/main/kotlin/com/hexated/Moviehab.kt +++ b/Moviehab/src/main/kotlin/com/hexated/Moviehab.kt @@ -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(