mirror of
https://github.com/yoyzo/arab
synced 2024-08-15 03:15:00 +00:00
Some adjustments
This commit is contained in:
parent
5a398caf08
commit
601040fd7e
1 changed files with 24 additions and 24 deletions
|
@ -39,29 +39,29 @@ class Fushaar : MainAPI() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override val mainPage = mainPageOf(
|
override val mainPage = mainPageOf(
|
||||||
"$mainUrl/page/" to "Movies|أفلام",
|
"$mainUrl/page/" to "Movies | أفلام",
|
||||||
"$mainUrl/gerne/action/page/" to "Action|إثارة",
|
"$mainUrl/gerne/action/page/" to "Action | أكشن",
|
||||||
"$mainUrl/gerne/adventure/page/" to "Adventure|مغامرة",
|
"$mainUrl/gerne/adventure/page/" to "Adventure | مغامرة",
|
||||||
"$mainUrl/gerne/animation/page/" to "Animation|أنيمايشن",
|
"$mainUrl/gerne/animation/page/" to "Animation | أنيمايشن",
|
||||||
"$mainUrl/gerne/biography/page/" to "Biography|سيرة",
|
"$mainUrl/gerne/biography/page/" to "Biography | سيرة",
|
||||||
"$mainUrl/gerne/comedy/page/" to "Comedy|كوميديا",
|
"$mainUrl/gerne/comedy/page/" to "Comedy | كوميديا",
|
||||||
"$mainUrl/gerne/crime/page/" to "Crime|جريمة",
|
"$mainUrl/gerne/crime/page/" to "Crime | جريمة",
|
||||||
"$mainUrl/gerne/documentary/page/" to "Documentary|وثائقي",
|
"$mainUrl/gerne/documentary/page/" to "Documentary | وثائقي",
|
||||||
"$mainUrl/gerne/drama/page/" to "Drama|دراما",
|
"$mainUrl/gerne/drama/page/" to "Drama | دراما",
|
||||||
"$mainUrl/gerne/family/page/" to "Family|عائلي",
|
"$mainUrl/gerne/family/page/" to "Family | عائلي",
|
||||||
"$mainUrl/gerne/fantasy/page/" to "Fantasy|فنتازيا",
|
"$mainUrl/gerne/fantasy/page/" to "Fantasy | فنتازيا",
|
||||||
"$mainUrl/gerne/herror/page/" to "Herror|رعب",
|
"$mainUrl/gerne/herror/page/" to "Herror | رعب",
|
||||||
"$mainUrl/gerne/history/page/" to "History|تاريخي",
|
"$mainUrl/gerne/history/page/" to "History |تاريخي",
|
||||||
"$mainUrl/gerne/music/page/" to "Music|موسيقى",
|
"$mainUrl/gerne/music/page/" to "Music | موسيقى",
|
||||||
"$mainUrl/gerne/musical/page/" to "Musical|موسيقي",
|
"$mainUrl/gerne/musical/page/" to "Musical | موسيقي",
|
||||||
"$mainUrl/gerne/mystery/page/" to "Mystery|غموض",
|
"$mainUrl/gerne/mystery/page/" to "Mystery | غموض",
|
||||||
"$mainUrl/gerne/romance/page/" to "Romance|رومنسي",
|
"$mainUrl/gerne/romance/page/" to "Romance | رومنسي",
|
||||||
"$mainUrl/gerne/sci-fi/page/" to "Sci-fi|خيال علمي",
|
"$mainUrl/gerne/sci-fi/page/" to "Sci-fi | خيال علمي",
|
||||||
"$mainUrl/gerne/short/page/" to "Short|قصير",
|
"$mainUrl/gerne/short/page/" to "Short | قصير",
|
||||||
"$mainUrl/gerne/sport/page/" to "Sport|رياضة",
|
"$mainUrl/gerne/sport/page/" to "Sport | رياضة",
|
||||||
"$mainUrl/gerne/thriller/page/" to "Thriller|روائي",
|
"$mainUrl/gerne/thriller/page/" to "Thriller | إثارة",
|
||||||
"$mainUrl/gerne/war/page/" to "War|حرب",
|
"$mainUrl/gerne/war/page/" to "War | حرب",
|
||||||
"$mainUrl/gerne/western/page/" to "Western|غربي",
|
"$mainUrl/gerne/western/page/" to "Western | غربي",
|
||||||
)
|
)
|
||||||
|
|
||||||
override suspend fun getMainPage(page: Int, request : MainPageRequest): HomePageResponse {
|
override suspend fun getMainPage(page: Int, request : MainPageRequest): HomePageResponse {
|
||||||
|
@ -84,7 +84,7 @@ class Fushaar : MainAPI() {
|
||||||
var doc = app.get(url).document
|
var doc = app.get(url).document
|
||||||
val posterUrl = doc.select("figure.poster noscript img").attr("src")
|
val posterUrl = doc.select("figure.poster noscript img").attr("src")
|
||||||
val year = doc.select("header span.yearz").text()?.getIntFromText()
|
val year = doc.select("header span.yearz").text()?.getIntFromText()
|
||||||
val title = doc.select("header h1").text()+"\n"+doc.select("header h2").text()
|
val title = doc.select("header h1").text()+" | "+doc.select("header h2").text()
|
||||||
val synopsis = doc.select("div.postz").text()
|
val synopsis = doc.select("div.postz").text()
|
||||||
val trailer = doc.select("div.rll-youtube-player iframe").attr("src")
|
val trailer = doc.select("div.rll-youtube-player iframe").attr("src")
|
||||||
val tags = doc.select("li.iifo").map { it.select("span.z-s-i").text()+" "+it.select("h8").text() }
|
val tags = doc.select("li.iifo").map { it.select("span.z-s-i").text()+" "+it.select("h8").text() }
|
||||||
|
|
Loading…
Reference in a new issue