Fix rotana.net guide API.

Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
Toha
2026-05-17 11:19:07 +07:00
parent 36e99ad531
commit 52c8f91f64
8 changed files with 4600 additions and 561 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,131 +1,136 @@
<div class="iq-accordion-details" style="display: block;"> <div class="row">
<div class="row"> <div class="col-lg-6 col-md-12 col-sm-12 ">
<div class="col-lg-6 col-md-12 col-sm-12 "><img <img src="https://s3.eu-central-1.amazonaws.com/rotana.website/spider_storage/1398X1000/1696246957.webp" loading="lazy" alt="الحريف">
src="https://s3.eu-central-1.amazonaws.com/rotana.website/spider_storage/1398X1000/1687084565" </div>
loading="lazy" alt="خيانة مشروعة"></div> <div class="col-lg-6 col-md-12 col-sm-12">
<div class="col-lg-6 col-md-12 col-sm-12"> <div class="iq-blog-detail">
<div class="iq-blog-detail"> <div class="trending-info">
<div class="trending-info"> <div class="row">
<div class="row"> <div class="col-md-12 col-12 mb-auto">
<div class="col-md-12 col-12 mb-auto"> <div class="d-md-flex trending-box">
<div class="d-md-flex trending-box"> <h5 class="big-title text-uppercase mt-0 fadeInLeft animated" data-animation-in="fadeInLeft" data-delay-in="0.6" style="opacity: 1; animation-delay: 0.6s">الحريف </h5>
<h5 class="big-title text-uppercase mt-0 fadeInLeft animated"
data-animation-in="fadeInLeft" data-delay-in="0.6"
style="opacity: 1; animation-delay: 0.6s"> خيانة مشروعة </h5>
</div>
<ul class="p-0 list-inline d-flex flex-wrap align-items-center mb-3 mt-4 iq_tag-list">
<li class="text-primary text-lable mr-3"><i class="fa fa-tags" aria-hidden="true"></i>
التصنيف </li>
<li class="trending-list mr-3"><a class="title" href="#">جريمة , إثارة , دراما </a></li>
</ul>
<div class="blog-button"></div><br><span>
<p><strong></strong></p> يعلم هشام البحيري أن والده قد حرمه من الميراث، ووهب كل ثروته لشقيقه اﻷكبر، وهو ما يدفعه لتدبير جريمة قتل شقيقه لتبدو وكأنها دفاع عن الشرف، وذلك حين يقتل هشام زوجته مع شقيقه. <br><br>
<span> البلد : مصر </span><br>
<span> سنة الإصدار :2006 </span><br>
<span> التصنيف : فيلم </span><br>
<span> اللغة : عربي</span><br>
<span> المخرج : خالد يوسف </span><br><br>
</span>
</div> </div>
<ul class="p-0 list-inline d-flex flex-wrap align-items-center mb-3 mt-4 iq_tag-list">
<li class="text-primary text-lable mr-3">
<i class="fa fa-tags" aria-hidden="true"></i>
التصنيف
</li>
<li class="trending-list mr-3">
<a class="title" href="#">دراما </a>
</li>
</ul>
<div class="blog-button"></div>
<br>
<span>
<p>
<strong></strong>
</p>
فارس (عادل إمام) يعاني من إهمال عمله وحياته بسبب شغفه بكرة القدم والمراهنات، ويرغب في استعادة زوجته بينما يتلقى عرضًا للعمل في معرض سيارات <br>
<br>
<span>البلد : مصر </span>
<br>
<span>سنة الإصدار : 1984 </span>
<br>
<span>التصنيف : فيلم </span>
<br>
<span>اللغة : عربي </span>
<br>
<br>
</span>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="row"> </div>
<div class="col-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 "> <div class="row">
<div class="iq-accordion-title"> <div class="col-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
<h5 class="big-title text-uppercase mt-0 fadeInDown animated" data-animation-in="fadeInDown" <div class="iq-accordion-title">
data-delay-in="0.6" style="opacity: 1; animation-delay: 0.6s"><span>طاقم العمل</span></h5> <h5 class="big-title text-uppercase mt-0 fadeInDown animated" data-animation-in="fadeInDown" data-delay-in="0.6" style="opacity: 1; animation-delay: 0.6s">
</div> <span>طاقم العمل</span>
<div class=""> </h5>
<ul class=" row list-inline mb-0 iq-rtl-direction iq_genres-contents"> </div>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 2"><a <div class="">
href="https://rotana.net/ar/actor-details/1392/%D9%87%D8%A7%D9%86%D9%8A-%D8%B3%D9%84%D8%A7%D9%85%D8%A9" <ul class=" row list-inline mb-0 iq-rtl-direction iq_genres-contents">
target="_blank"> <li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 2">
<div class="block-images position-relative watchlist-first"> <a href="https://rotana.net/ar/actor-details/120/%D8%B9%D8%A7%D8%AF%D9%84-%D8%A5%D9%85%D8%A7%D9%85" target="_blank">
<div class="img-box"><img <div class="block-images position-relative watchlist-first">
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677266060" <div class="img-box">
class="img-fluid" loading="lazy" alt="هاني سلامة"></div> <img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677251896" class="img-fluid" loading="lazy" alt="عادل إمام">
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> هاني سلامة </h6>
<h6 class="iq-title">ممثل</h6>
</div>
</div> </div>
</a></li> <div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 3"><a <h6 class="iq-title">عادل إمام </h6>
href="https://rotana.net/ar/actor-details/476/%D9%85%D9%8A-%D8%B9%D8%B2-%D8%A7%D9%84%D8%AF%D9%8A%D9%86" <h6 class="iq-title">ممثل</h6>
target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box"><img
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677281286"
class="img-fluid" loading="lazy" alt="مي عز الدين"></div>
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> مي عز الدين </h6>
<h6 class="iq-title">ممثل</h6>
</div>
</div> </div>
</a></li> </div>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 4"><a </a>
href="https://rotana.net/ar/actor-details/1393/%D8%B3%D9%85%D9%8A%D8%A9-%D8%A7%D9%84%D8%AE%D8%B4%D8%A7%D8%A8" </li>
target="_blank"> <li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 3">
<div class="block-images position-relative watchlist-first"> <a href="https://rotana.net/ar/actor-details/122/%D9%87%D8%A7%D9%86%D9%85-%D9%85%D8%AD%D9%85%D8%AF" target="_blank">
<div class="img-box"><img <div class="block-images position-relative watchlist-first">
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677290429" <div class="img-box">
class="img-fluid" loading="lazy" alt="سمية الخشاب"></div> <img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677265998" class="img-fluid" loading="lazy" alt="هانم محمد">
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> سمية الخشاب </h6>
<h6 class="iq-title">مغني</h6>
</div>
</div> </div>
</a></li> <div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 5"><a <h6 class="iq-title">هانم محمد </h6>
href="https://rotana.net/ar/actor-details/2358/%D9%87%D8%B4%D8%A7%D9%85-%D8%B3%D9%84%D9%8A%D9%85" <h6 class="iq-title">ممثل</h6>
target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box"><img
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677266419"
class="img-fluid" loading="lazy" alt="هشام سليم"></div>
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> هشام سليم </h6>
<h6 class="iq-title">ممثل</h6>
</div>
</div> </div>
</a></li> </div>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 6"><a </a>
href="https://rotana.net/ar/actor-details/2807/%D8%B3%D8%A7%D9%85%D8%AD-%D8%A7%D9%84%D8%B5%D8%B1%D9%8A%D8%B7%D9%8A" </li>
target="_blank"> <li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 4">
<div class="block-images position-relative watchlist-first"> <a href="https://rotana.net/ar/actor-details/133/%D9%85%D8%B7%D8%A7%D9%88%D8%B9-%D8%B9%D9%88%D9%8A%D8%B3" target="_blank">
<div class="img-box"><img <div class="block-images position-relative watchlist-first">
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677288796" <div class="img-box">
class="img-fluid" loading="lazy" alt="سامح الصريطي"></div> <img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677279850" class="img-fluid" loading="lazy" alt="مطاوع عويس">
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> سامح الصريطي </h6>
<h6 class="iq-title">ممثل</h6>
</div>
</div> </div>
</a></li> <div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 7"><a <h6 class="iq-title">مطاوع عويس </h6>
href="https://rotana.net/ar/actor-details/1210/%D8%B9%D9%85%D8%B1%D9%88-%D8%B3%D8%B9%D8%AF" <h6 class="iq-title">ممثل</h6>
target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box"><img
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677253966"
class="img-fluid" loading="lazy" alt="عمرو سعد"></div>
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> عمرو سعد </h6>
<h6 class="iq-title">ممثل</h6>
</div>
</div> </div>
</a></li> </div>
</ul> </a>
</div> </li>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 5">
<a href="https://rotana.net/ar/actor-details/177/%D8%B7%D9%88%D8%B3%D9%88%D9%86-%D9%85%D8%B9%D8%AA%D9%85%D8%AF" target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box">
<img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677294640" class="img-fluid" loading="lazy" alt="طوسون معتمد">
</div>
<div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title">طوسون معتمد </h6>
<h6 class="iq-title">ممثل</h6>
</div>
</div>
</a>
</li>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 6">
<a href="https://rotana.net/ar/actor-details/650/%D9%85%D9%87%D8%AC%D8%A9-%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D8%B1%D8%AD%D9%85%D9%86" target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box">
<img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677280447" class="img-fluid" loading="lazy" alt="مهجة عبدالرحمن">
</div>
<div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title">مهجة عبدالرحمن </h6>
<h6 class="iq-title">ممثل</h6>
</div>
</div>
</a>
</li>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 7">
<a href="https://rotana.net/ar/actor-details/652/%D8%B9%D9%85%D8%B1%D8%A7%D9%86-%D8%A8%D8%AD%D8%B1" target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box">
<img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677284217" class="img-fluid" loading="lazy" alt="عمران بحر">
</div>
<div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title">عمران بحر </h6>
<h6 class="iq-title">ممثل</h6>
</div>
</div>
</a>
</li>
</ul>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1,132 +1,136 @@
<div class="iq-accordion-details" style="display: block;"> <div class="row">
<div class="row"> <div class="col-lg-6 col-md-12 col-sm-12 ">
<div class="col-lg-6 col-md-12 col-sm-12 "><img <img src="https://s3.eu-central-1.amazonaws.com/rotana.website/spider_storage/1398X1000/1696246957.webp" loading="lazy" alt="The Street Player">
src="https://s3.eu-central-1.amazonaws.com/rotana.website/spider_storage/1398X1000/1687084565" </div>
loading="lazy" alt="Khiyana Mashroua"></div> <div class="col-lg-6 col-md-12 col-sm-12">
<div class="col-lg-6 col-md-12 col-sm-12"> <div class="iq-blog-detail">
<div class="iq-blog-detail"> <div class="trending-info">
<div class="trending-info"> <div class="row">
<div class="row"> <div class="col-md-12 col-12 mb-auto">
<div class="col-md-12 col-12 mb-auto"> <div class="d-md-flex trending-box">
<div class="d-md-flex trending-box"> <h5 class="big-title text-uppercase mt-0 fadeInLeft animated" data-animation-in="fadeInLeft" data-delay-in="0.6" style="opacity: 1; animation-delay: 0.6s">The Street Player </h5>
<h5 class="big-title text-uppercase mt-0 fadeInLeft animated"
data-animation-in="fadeInLeft" data-delay-in="0.6"
style="opacity: 1; animation-delay: 0.6s"> Khiyana Mashroua </h5>
</div>
<ul class="p-0 list-inline d-flex flex-wrap align-items-center mb-3 mt-4 iq_tag-list">
<li class="text-primary text-lable mr-3"><i class="fa fa-tags" aria-hidden="true"></i>
Genres </li>
<li class="trending-list mr-3"><a class="title" href="#">Crime , Thriller , Drama </a>
</li>
</ul>
<div class="blog-button"></div><br><span>
<p><strong></strong></p> Hisham knows that his father has given all his wealth to his elder brother. This leads him to plan to kill his brother to make it look like a defense of honor, which he does by killing his wife along... <br><br>
<span> Country : Egypt</span><br>
<span> Release Year : 2006 </span><br>
<span> Category : Movie</span><br>
<span> Language : Arabic </span><br>
<span> Director : Khaled Youssef</span><br><br>
</span>
</div> </div>
<ul class="p-0 list-inline d-flex flex-wrap align-items-center mb-3 mt-4 iq_tag-list">
<li class="text-primary text-lable mr-3">
<i class="fa fa-tags" aria-hidden="true"></i>
Genres
</li>
<li class="trending-list mr-3">
<a class="title" href="#">Drama </a>
</li>
</ul>
<div class="blog-button"></div>
<br>
<span>
<p>
<strong></strong>
</p>
Fares (Adel Emam) suffers from the neglect of his work and life because of his passion for football and betting, and he wants to get his wife back while he receives an offer to work in a car showroom. <br>
<br>
<span>Country : Egypt </span>
<br>
<span>Release Year : 1984 </span>
<br>
<span>Category : Movie </span>
<br>
<span>Language : Arabic </span>
<br>
<br>
</span>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="row"> </div>
<div class="col-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 "> <div class="row">
<div class="iq-accordion-title"> <div class="col-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
<h5 class="big-title text-uppercase mt-0 fadeInDown animated" data-animation-in="fadeInDown" <div class="iq-accordion-title">
data-delay-in="0.6" style="opacity: 1; animation-delay: 0.6s"><span>Cast</span></h5> <h5 class="big-title text-uppercase mt-0 fadeInDown animated" data-animation-in="fadeInDown" data-delay-in="0.6" style="opacity: 1; animation-delay: 0.6s">
</div> <span>Cast</span>
<div class=""> </h5>
<ul class=" row list-inline mb-0 iq-rtl-direction iq_genres-contents"> </div>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 2"><a <div class="">
href="https://rotana.net/en/actor-details/1392/%D9%87%D8%A7%D9%86%D9%8A-%D8%B3%D9%84%D8%A7%D9%85%D8%A9" <ul class=" row list-inline mb-0 iq-rtl-direction iq_genres-contents">
target="_blank"> <li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 2">
<div class="block-images position-relative watchlist-first"> <a href="https://rotana.net/en/actor-details/120/%D8%B9%D8%A7%D8%AF%D9%84-%D8%A5%D9%85%D8%A7%D9%85" target="_blank">
<div class="img-box"><img <div class="block-images position-relative watchlist-first">
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677266060" <div class="img-box">
class="img-fluid" loading="lazy" alt="Hani Salama"></div> <img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677251896" class="img-fluid" loading="lazy" alt="Adel Emam">
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> Hani Salama </h6>
<h6 class="iq-title">Actor</h6>
</div>
</div> </div>
</a></li> <div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 3"><a <h6 class="iq-title">Adel Emam </h6>
href="https://rotana.net/en/actor-details/476/%D9%85%D9%8A-%D8%B9%D8%B2-%D8%A7%D9%84%D8%AF%D9%8A%D9%86" <h6 class="iq-title">Actor</h6>
target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box"><img
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677281286"
class="img-fluid" loading="lazy" alt="Mai Ezz El Din"></div>
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> Mai Ezz El Din </h6>
<h6 class="iq-title">Actor</h6>
</div>
</div> </div>
</a></li> </div>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 4"><a </a>
href="https://rotana.net/en/actor-details/1393/%D8%B3%D9%85%D9%8A%D8%A9-%D8%A7%D9%84%D8%AE%D8%B4%D8%A7%D8%A8" </li>
target="_blank"> <li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 3">
<div class="block-images position-relative watchlist-first"> <a href="https://rotana.net/en/actor-details/122/%D9%87%D8%A7%D9%86%D9%85-%D9%85%D8%AD%D9%85%D8%AF" target="_blank">
<div class="img-box"><img <div class="block-images position-relative watchlist-first">
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677290429" <div class="img-box">
class="img-fluid" loading="lazy" alt="Somaya El Khashab"></div> <img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677265998" class="img-fluid" loading="lazy" alt="Hanem Mohammad">
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> Somaya El Khashab </h6>
<h6 class="iq-title">Singer</h6>
</div>
</div> </div>
</a></li> <div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 5"><a <h6 class="iq-title">Hanem Mohammad </h6>
href="https://rotana.net/en/actor-details/2358/%D9%87%D8%B4%D8%A7%D9%85-%D8%B3%D9%84%D9%8A%D9%85" <h6 class="iq-title">Actor</h6>
target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box"><img
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677266419"
class="img-fluid" loading="lazy" alt="Hesham Selim"></div>
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> Hesham Selim </h6>
<h6 class="iq-title">Actor</h6>
</div>
</div> </div>
</a></li> </div>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 6"><a </a>
href="https://rotana.net/en/actor-details/2807/%D8%B3%D8%A7%D9%85%D8%AD-%D8%A7%D9%84%D8%B5%D8%B1%D9%8A%D8%B7%D9%8A" </li>
target="_blank"> <li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 4">
<div class="block-images position-relative watchlist-first"> <a href="https://rotana.net/en/actor-details/133/%D9%85%D8%B7%D8%A7%D9%88%D8%B9-%D8%B9%D9%88%D9%8A%D8%B3" target="_blank">
<div class="img-box"><img <div class="block-images position-relative watchlist-first">
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677288796" <div class="img-box">
class="img-fluid" loading="lazy" alt="Sameh El-Sereety"></div> <img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677279850" class="img-fluid" loading="lazy" alt="Metawea Oweis">
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> Sameh El-Sereety </h6>
<h6 class="iq-title">Actor</h6>
</div>
</div> </div>
</a></li> <div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 7"><a <h6 class="iq-title">Metawea Oweis </h6>
href="https://rotana.net/en/actor-details/1210/%D8%B9%D9%85%D8%B1%D9%88-%D8%B3%D8%B9%D8%AF" <h6 class="iq-title">Actor</h6>
target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box"><img
src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677253966"
class="img-fluid" loading="lazy" alt="Amr Saad"></div>
<div
class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title"> Amr Saad </h6>
<h6 class="iq-title">Actor</h6>
</div>
</div> </div>
</a></li> </div>
</ul> </a>
</div> </li>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 5">
<a href="https://rotana.net/en/actor-details/177/%D8%B7%D9%88%D8%B3%D9%88%D9%86-%D9%85%D8%B9%D8%AA%D9%85%D8%AF" target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box">
<img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677294640" class="img-fluid" loading="lazy" alt="Tousoun Motamad">
</div>
<div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title">Tousoun Motamad </h6>
<h6 class="iq-title">Actor</h6>
</div>
</div>
</a>
</li>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 6">
<a href="https://rotana.net/en/actor-details/650/%D9%85%D9%87%D8%AC%D8%A9-%D8%B9%D8%A8%D8%AF%D8%A7%D9%84%D8%B1%D8%AD%D9%85%D9%86" target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box">
<img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677280447" class="img-fluid" loading="lazy" alt="Mohga Abdel Rahman">
</div>
<div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title">Mohga Abdel Rahman </h6>
<h6 class="iq-title">Actor</h6>
</div>
</div>
</a>
</li>
<li class="slide-item col-6 col-lg-2 col-md-4 col-sm-6 col-xs-6 7">
<a href="https://rotana.net/en/actor-details/652/%D8%B9%D9%85%D8%B1%D8%A7%D9%86-%D8%A8%D8%AD%D8%B1" target="_blank">
<div class="block-images position-relative watchlist-first">
<div class="img-box">
<img src="https://s3.eu-central-1.amazonaws.com/rotana.website/elcinema_persons/1677284217" class="img-fluid" loading="lazy" alt="Omran Bahr">
</div>
<div class="block-description d-flex justify-content-center flex-column text-center cast-small-title">
<h6 class="iq-title">Omran Bahr </h6>
<h6 class="iq-title">Actor</h6>
</div>
</div>
</a>
</li>
</ul>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -40,7 +40,8 @@ module.exports = {
if (items.length) { if (items.length) {
const queues = [] const queues = []
for (const item of items) { for (const item of items) {
const url = `https://rotana.net/${channel.lang}/streams?channel=${channel.site_id}&itemId=${item.program}` const url =
`https://rotana.net/${channel.lang}/streams?channel=${channel.site_id}&itemId=${item.program}&playnow=0`
const params = { const params = {
headers: { headers: {
...defaultHeaders, ...defaultHeaders,
@@ -58,18 +59,26 @@ module.exports = {
return programs return programs
}, },
async channels({ lang = 'en' }) { async channels({ lang = 'en' }) {
const channels = []
const result = await axios const result = await axios
.get('https://rotana.net/api/channels') .get(`https://rotana.net/${lang}/streams`, { headers: defaultHeaders })
.then(response => response.data) .then(response => response.data)
.catch(console.error) .catch(console.error)
return result.data.map(item => { if (result) {
return { const $ = cheerio.load(result)
lang, $('#channels-list > li > a')
site_id: item.id, .toArray()
name: item.name[lang] .forEach(item => {
} channels.push({
}) lang,
site_id: $(item).attr('href').match(/channel=(\d+)/)[1],
name: $(item).text().trim()
})
})
}
return channels
} }
} }
@@ -82,7 +91,7 @@ function parseProgram(item, result) {
case 'Text': case 'Text':
if (item.description === undefined) { if (item.description === undefined) {
const desc = $(el).text().trim() const desc = $(el).text().trim()
if (desc) { if (desc.length) {
item.description = desc item.description = desc
} }
} }
@@ -181,9 +190,8 @@ function parseItems(content, date) {
function parseCookies(headers) { function parseCookies(headers) {
const cookies = [] const cookies = []
if (headers && Array.isArray(headers['set-cookie'])) { if (headers && Array.isArray(headers['set-cookie'])) {
headers['set-cookie'].forEach(cookie => { cookies.push(...headers['set-cookie']
cookies.push(cookie.split('; ')[0]) .map(cookie => cookie.split(';')[0].trim()))
})
} }
return cookies.length ? cookies.join('; ') : null return cookies.length ? cookies.join('; ') : null
} }

View File

@@ -11,7 +11,7 @@ dayjs.extend(utc)
jest.mock('axios') jest.mock('axios')
const date = dayjs.utc('2024-11-26').startOf('d') const date = dayjs.utc('2026-05-16').startOf('d')
const channel = { const channel = {
lang: 'en', lang: 'en',
site_id: '439', site_id: '439',
@@ -20,12 +20,12 @@ const channel = {
const channelAr = Object.assign({}, channel, { lang: 'ar' }) const channelAr = Object.assign({}, channel, { lang: 'ar' })
axios.get.mockImplementation(url => { axios.get.mockImplementation(url => {
if (url === 'https://rotana.net/en/streams?channel=439&itemId=736970') { if (url === 'https://rotana.net/en/streams?channel=439&itemId=1160904&playnow=0') {
return Promise.resolve({ return Promise.resolve({
data: fs.readFileSync(path.resolve(__dirname, '__data__/program_en.html')) data: fs.readFileSync(path.resolve(__dirname, '__data__/program_en.html'))
}) })
} }
if (url === 'https://rotana.net/ar/streams?channel=439&itemId=736970') { if (url === 'https://rotana.net/ar/streams?channel=439&itemId=1160904&playnow=0') {
return Promise.resolve({ return Promise.resolve({
data: fs.readFileSync(path.resolve(__dirname, '__data__/program_ar.html')) data: fs.readFileSync(path.resolve(__dirname, '__data__/program_ar.html'))
}) })
@@ -64,16 +64,17 @@ it('can parse english response', async () => {
return a return a
}) })
expect(result.length).toBe(12) expect(result.length).toBe(13)
expect(result[11]).toMatchObject({ expect(result[12]).toMatchObject({
start: '2024-11-26T20:00:00.000Z', start: '2026-05-16T19:00:00.000Z',
stop: '2024-11-26T22:00:00.000Z', stop: '2026-05-16T21:00:00.000Z',
title: 'Khiyana Mashroua', title: 'The Street Player',
description: description:
'Hisham knows that his father has given all his wealth to his elder brother. This leads him to plan to kill his brother to make it look like a defense of honor, which he does by killing his wife along...', 'Fares (Adel Emam) suffers from the neglect of his work and life because of his passion for football and betting, and he wants to get his wife back while he receives an offer to work in a car showroom.',
image: image:
'https://s3.eu-central-1.amazonaws.com/rotana.website/spider_storage/1398X1000/1687084565', 'https://s3.eu-central-1.amazonaws.com/rotana.website/spider_storage/1398X1000/1696246957.webp',
category: 'Movie' category: 'Movie',
date: '1984'
}) })
}) })
@@ -90,16 +91,17 @@ it('can parse arabic response', async () => {
return a return a
}) })
expect(result.length).toBe(12) expect(result.length).toBe(13)
expect(result[11]).toMatchObject({ expect(result[12]).toMatchObject({
start: '2024-11-26T20:00:00.000Z', start: '2026-05-16T19:00:00.000Z',
stop: '2024-11-26T22:00:00.000Z', stop: '2026-05-16T21:00:00.000Z',
title: 'خيانة مشروعة', title: 'الحريف',
description: description:
'يعلم هشام البحيري أن والده قد حرمه من الميراث، ووهب كل ثروته لشقيقه اﻷكبر، وهو ما يدفعه لتدبير جريمة قتل شقيقه لتبدو وكأنها دفاع عن الشرف، وذلك حين يقتل هشام زوجته مع شقيقه.', 'فارس (عادل إمام) يعاني من إهمال عمله وحياته بسبب شغفه بكرة القدم والمراهنات، ويرغب في استعادة زوجته بينما يتلقى عرضًا للعمل في معرض سيارات',
image: image:
'https://s3.eu-central-1.amazonaws.com/rotana.website/spider_storage/1398X1000/1687084565', 'https://s3.eu-central-1.amazonaws.com/rotana.website/spider_storage/1398X1000/1696246957.webp',
category: 'فيلم' category: 'فيلم',
date: '1984'
}) })
}) })

View File

@@ -1,19 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<channels> <channels>
<channel site="rotana.net" site_id="431" lang="ar" xmltv_id="RotanaCinemaKSA.sa@SD">روتانا سينما السعودية</channel>
<channel site="rotana.net" site_id="432" lang="ar" xmltv_id="">روتانا أتش دي</channel>
<channel site="rotana.net" site_id="433" lang="ar" xmltv_id="">روتانا سينما فرنسا</channel>
<channel site="rotana.net" site_id="434" lang="ar" xmltv_id="LBC.sa@SD">إل بي سي</channel>
<channel site="rotana.net" site_id="435" lang="ar" xmltv_id="RotanaKhalijia.sa@SD">روتانا خليجية</channel>
<channel site="rotana.net" site_id="436" lang="ar" xmltv_id="RotanaDrama.sa@SD">روتانا دراما</channel>
<channel site="rotana.net" site_id="437" lang="ar" xmltv_id="RotanaComedy.sa@SD">روتانا كوميدي</channel>
<channel site="rotana.net" site_id="438" lang="ar" xmltv_id="RotanaClassic.sa@SD">روتانا كلاسيك</channel>
<channel site="rotana.net" site_id="439" lang="ar" xmltv_id="RotanaCinemaEgypt.eg@SD">روتانا سينما مصر</channel>
<channel site="rotana.net" site_id="440" lang="ar" xmltv_id="RotanaAflam.sa@SD">روتانا أفلام</channel>
<channel site="rotana.net" site_id="441" lang="ar" xmltv_id="RotanaKids.sa@SD">روتانا كيدز</channel>
<channel site="rotana.net" site_id="442" lang="ar" xmltv_id="RotanaAmerica.sa@SD">روتانا أمريكا</channel>
<channel site="rotana.net" site_id="443" lang="ar" xmltv_id="RotanaClip.sa@SD">روتانا كليب</channel>
<channel site="rotana.net" site_id="444" lang="ar" xmltv_id="RotanaMusic.sa@SD">روتانا موسيقي</channel>
<channel site="rotana.net" site_id="445" lang="ar" xmltv_id="">M+ HD</channel>
<channel site="rotana.net" site_id="446" lang="ar" xmltv_id="AlResalah.sa@SD">الرساله</channel> <channel site="rotana.net" site_id="446" lang="ar" xmltv_id="AlResalah.sa@SD">الرساله</channel>
<channel site="rotana.net" site_id="434" lang="ar" xmltv_id="LBC.sa@SD">إل بي سي</channel>
<channel site="rotana.net" site_id="439" lang="ar" xmltv_id="RotanaCinemaEgypt.eg@SD">روتانا سينما مصر</channel>
<channel site="rotana.net" site_id="431" lang="ar" xmltv_id="RotanaCinemaKSA.sa@SD">روتانا سينما السعودية</channel>
<channel site="rotana.net" site_id="438" lang="ar" xmltv_id="RotanaClassic.sa@SD">روتانا كلاسيك</channel>
<channel site="rotana.net" site_id="443" lang="ar" xmltv_id="RotanaClip.sa@SD">روتانا كليب</channel>
<channel site="rotana.net" site_id="437" lang="ar" xmltv_id="RotanaComedy.sa@SD">روتانا كوميدي</channel>
<channel site="rotana.net" site_id="436" lang="ar" xmltv_id="RotanaDrama.sa@SD">روتانا دراما</channel>
<channel site="rotana.net" site_id="435" lang="ar" xmltv_id="RotanaKhalijia.sa@SD">روتانا خليجية</channel>
</channels> </channels>

View File

@@ -1,19 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<channels> <channels>
<channel site="rotana.net" site_id="431" lang="en" xmltv_id="RotanaCinemaKSA.sa@SD">Rotana Cinema KSA</channel>
<channel site="rotana.net" site_id="432" lang="en" xmltv_id="">Rotana HD</channel>
<channel site="rotana.net" site_id="433" lang="en" xmltv_id="">Rotana Cinema France</channel>
<channel site="rotana.net" site_id="434" lang="en" xmltv_id="LBC.sa@SD">LBC</channel>
<channel site="rotana.net" site_id="435" lang="en" xmltv_id="RotanaKhalijia.sa@SD">Rotana Khalijea HD</channel>
<channel site="rotana.net" site_id="436" lang="en" xmltv_id="RotanaDrama.sa@SD">Rotana Drama</channel>
<channel site="rotana.net" site_id="437" lang="en" xmltv_id="RotanaComedy.sa@SD">Rotana Comedy</channel>
<channel site="rotana.net" site_id="438" lang="en" xmltv_id="RotanaClassic.sa@SD">Rotana Classic</channel>
<channel site="rotana.net" site_id="439" lang="en" xmltv_id="RotanaCinemaEgypt.eg@SD">Rotana Cinema Masr</channel>
<channel site="rotana.net" site_id="440" lang="en" xmltv_id="RotanaAflam.sa@SD">Rotana Aflam</channel>
<channel site="rotana.net" site_id="441" lang="en" xmltv_id="RotanaKids.sa@SD">Rotana Kids</channel>
<channel site="rotana.net" site_id="442" lang="en" xmltv_id="RotanaAmerica.sa@SD">Rotana USA</channel>
<channel site="rotana.net" site_id="443" lang="en" xmltv_id="RotanaClip.sa@SD">Rotana Clip</channel>
<channel site="rotana.net" site_id="444" lang="en" xmltv_id="RotanaMusic.sa@SD">Rotana Music</channel>
<channel site="rotana.net" site_id="445" lang="en" xmltv_id="">M+ HD</channel>
<channel site="rotana.net" site_id="446" lang="en" xmltv_id="AlResalah.sa@SD">Al Resalah</channel> <channel site="rotana.net" site_id="446" lang="en" xmltv_id="AlResalah.sa@SD">Al Resalah</channel>
<channel site="rotana.net" site_id="434" lang="en" xmltv_id="LBC.sa@SD">LBC</channel>
<channel site="rotana.net" site_id="439" lang="en" xmltv_id="RotanaCinemaEgypt.eg@SD">Rotana Cinema Masr</channel>
<channel site="rotana.net" site_id="431" lang="en" xmltv_id="RotanaCinemaKSA.sa@SD">Rotana Cinema KSA</channel>
<channel site="rotana.net" site_id="438" lang="en" xmltv_id="RotanaClassic.sa@SD">Rotana Classic</channel>
<channel site="rotana.net" site_id="443" lang="en" xmltv_id="RotanaClip.sa@SD">Rotana Clip</channel>
<channel site="rotana.net" site_id="437" lang="en" xmltv_id="RotanaComedy.sa@SD">Rotana Comedy</channel>
<channel site="rotana.net" site_id="436" lang="en" xmltv_id="RotanaDrama.sa@SD">Rotana Drama</channel>
<channel site="rotana.net" site_id="435" lang="en" xmltv_id="RotanaKhalijia.sa@SD">Rotana Khalijea HD</channel>
</channels> </channels>