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
|
@ -40,7 +40,7 @@ class Fushaar : MainAPI() {
|
|||
|
||||
override val mainPage = mainPageOf(
|
||||
"$mainUrl/page/" to "Movies | أفلام",
|
||||
"$mainUrl/gerne/action/page/" to "Action|إثارة",
|
||||
"$mainUrl/gerne/action/page/" to "Action | أكشن",
|
||||
"$mainUrl/gerne/adventure/page/" to "Adventure | مغامرة",
|
||||
"$mainUrl/gerne/animation/page/" to "Animation | أنيمايشن",
|
||||
"$mainUrl/gerne/biography/page/" to "Biography | سيرة",
|
||||
|
@ -59,7 +59,7 @@ class Fushaar : MainAPI() {
|
|||
"$mainUrl/gerne/sci-fi/page/" to "Sci-fi | خيال علمي",
|
||||
"$mainUrl/gerne/short/page/" to "Short | قصير",
|
||||
"$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/western/page/" to "Western | غربي",
|
||||
)
|
||||
|
@ -84,7 +84,7 @@ class Fushaar : MainAPI() {
|
|||
var doc = app.get(url).document
|
||||
val posterUrl = doc.select("figure.poster noscript img").attr("src")
|
||||
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 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() }
|
||||
|
|
Loading…
Reference in a new issue