add more categories
This commit is contained in:
parent
39186fbc68
commit
91b3b01926
1 changed files with 6 additions and 4 deletions
|
@ -43,7 +43,7 @@ class Movizland : MainAPI() {
|
||||||
title,
|
title,
|
||||||
url.select("a").attr("href"),
|
url.select("a").attr("href"),
|
||||||
this@Movizland.name,
|
this@Movizland.name,
|
||||||
if(url.select("div.BlockTitle").text().contains("فيلم")) TvType.Movie else TvType.TvSeries,
|
TvType.Movie,
|
||||||
posterUrl,
|
posterUrl,
|
||||||
year,
|
year,
|
||||||
null,
|
null,
|
||||||
|
@ -53,12 +53,14 @@ class Movizland : MainAPI() {
|
||||||
}
|
}
|
||||||
override val mainPage = mainPageOf(
|
override val mainPage = mainPageOf(
|
||||||
"$mainUrl/category/movies/page/" to "Movies",
|
"$mainUrl/category/movies/page/" to "Movies",
|
||||||
"$mainUrl/quality/4K/page/" to "4K",
|
|
||||||
"$mainUrl/quality/1080p-bluray/page/" to "Bluray",
|
|
||||||
"$mainUrl/category/movies/anime/page/" to "Animation",
|
"$mainUrl/category/movies/anime/page/" to "Animation",
|
||||||
|
"$mainUrl/category/movies/arab/page/" to "Arab",
|
||||||
|
"$mainUrl/category/movies/asia/page/" to "Asia",
|
||||||
"$mainUrl/category/movies/documentary/page/" to "Documentary",
|
"$mainUrl/category/movies/documentary/page/" to "Documentary",
|
||||||
"$mainUrl/category/movies/netflix/page/" to "Netflix",
|
|
||||||
"$mainUrl/category/movies/foreign/page/" to "Foreign",
|
"$mainUrl/category/movies/foreign/page/" to "Foreign",
|
||||||
|
"$mainUrl/category/movies/india/page/" to "India",
|
||||||
|
"$mainUrl/category/movies/netflix/page/" to "Netflix",
|
||||||
|
"$mainUrl/category/movies/turkey/page/" to "Turkey",
|
||||||
)
|
)
|
||||||
|
|
||||||
override suspend fun getMainPage(page: Int, request : MainPageRequest): HomePageResponse {
|
override suspend fun getMainPage(page: Int, request : MainPageRequest): HomePageResponse {
|
||||||
|
|
Loading…
Reference in a new issue