mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Merge pull request #39 from iptv-org/add-elcinema-com
Add guide from elcinema.com
This commit is contained in:
commit
6c11b4aaf7
4 changed files with 284 additions and 1 deletions
3
.github/workflows/auto-update.yml
vendored
3
.github/workflows/auto-update.yml
vendored
|
@ -34,7 +34,8 @@ jobs:
|
|||
tvtv.ca,
|
||||
tvtv.us,
|
||||
tv.lv,
|
||||
maxtv.hrvatskitelekom.hr
|
||||
elcinema.com,
|
||||
maxtv.hrvatskitelekom.hr,
|
||||
mncvision.id,
|
||||
tvguide.com,
|
||||
tvprofil.com
|
||||
|
|
12
README.md
12
README.md
|
@ -14,6 +14,7 @@ To load a program guide, all you need to do is copy the link to one of the guide
|
|||
<tr><th align="left">Country</th><th align="left">EPG</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td align="left" nowrap>🇩🇿 Algeria</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇦🇱 Albania</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvprofil.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇦🇩 Andorra</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/andorradifusio.ad.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇦🇷 Argentina</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/mi.tv.guide.xml</code></td></tr>
|
||||
|
@ -29,6 +30,7 @@ To load a program guide, all you need to do is copy the link to one of the guide
|
|||
<tr><td align="left" nowrap>🇭🇷 Croatia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/maxtv.hrvatskitelekom.hr.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇭🇷 Croatia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvprofil.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇨🇿 Czechia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/m.tv.sms.cz.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇪🇬 Egypt</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇸🇻 El Salvador</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/mi.tv.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇫🇮 Finland</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/telkussa.fi.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇫🇷 France</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/programme-tv.net.guide.xml</code></td></tr>
|
||||
|
@ -40,10 +42,16 @@ To load a program guide, all you need to do is copy the link to one of the guide
|
|||
<tr><td align="left" nowrap>🇭🇺 Hungary</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvprofil.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇮🇹 Italy</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/guidatv.sky.it.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇮🇪 Ireland</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/ontvtonight.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇮🇷 Iran</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇮🇶 Iraq</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇯🇴 Jordan</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇰🇿 Kazakhstan</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tv.yandex.ru.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇰🇼 Kuwait</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇱🇻 Latvia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tv.lv.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇱🇾 Libya</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇲🇾 Malaysia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/astro.com.my.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇲🇽 Mexico</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/mi.tv.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇲🇦 Morocco</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇲🇪 Montenegro</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvprofil.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇲🇰 North Macedonia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvprofil.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇵🇾 Paraguay</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/mi.tv.guide.xml</code></td></tr>
|
||||
|
@ -52,13 +60,17 @@ To load a program guide, all you need to do is copy the link to one of the guide
|
|||
<tr><td align="left" nowrap>🇵🇹 Portugal</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/meo.pt.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇷🇴 Romania</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/programetv.ro.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇷🇺 Russia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tv.yandex.ru.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇸🇦 Saudi Arabia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇷🇸 Serbia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/maxtv.hrvatskitelekom.hr.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇷🇸 Serbia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvprofil.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇸🇮 Slovenia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvprofil.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇪🇸 Spain</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/programacion-tv.elpais.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇸🇪 Sweden</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/telkussa.fi.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇸🇾 Syria</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇹🇳 Tunisia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇹🇷 Turkey</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/digiturk.com.tr.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇺🇦 Ukraine</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvgid.ua.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇦🇪 United Arab Emirates</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/elcinema.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇬🇧 United Kingdom</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/ontvtonight.com.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇺🇸 United States</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/tvtv.us.guide.xml</code></td></tr>
|
||||
<tr><td align="left" nowrap>🇿🇲 Zambia</td><td align="left" nowrap><code>https://iptv-org.github.io/epg/guides/znbc.co.zm.guide.xml</code></td></tr>
|
||||
|
|
141
sites/elcinema.com.channels.xml
Executable file
141
sites/elcinema.com.channels.xml
Executable file
|
@ -0,0 +1,141 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site site="elcinema.com">
|
||||
<channels>
|
||||
<channel site_id="1353" xmltv_id="2MMonde.ma">2M Monde</channel>
|
||||
<channel site_id="1178" xmltv_id="AbuDhabiDrama.ae">Abu Dhabi Drama</channel>
|
||||
<channel site_id="1136" xmltv_id="AbuDhabiTV.ae">Abu Dhabi TV</channel>
|
||||
<channel site_id="1312" xmltv_id="AlAoula.ma">Al Aoula</channel>
|
||||
<channel site_id="1264" xmltv_id="AlDafrahTV.ae">Al Dafrah TV</channel>
|
||||
<channel site_id="1137" xmltv_id="AlHayatTV.eg">Al Hayat TV</channel>
|
||||
<channel site_id="1216" xmltv_id="AlJadeedTV.lb">Al Jadeed TV</channel>
|
||||
<channel site_id="1174" xmltv_id="AlKaheraWalNas.eg">Al Kahera Wal Nas</channel>
|
||||
<channel site_id="1252" xmltv_id="AlKaheraWalNas.eg">Al Kahera Wal Nas</channel>
|
||||
<channel site_id="1101" xmltv_id="AlOula.eg">Al Oula</channel>
|
||||
<channel site_id="1306" xmltv_id="AlRasheedTV.iq">Al Rasheed TV</channel>
|
||||
<channel site_id="1160" xmltv_id="AlSafwa.ae">Al Safwa</channel>
|
||||
<channel site_id="1269" xmltv_id="AlSharqiya.ae">Al Sharqiya</channel>
|
||||
<channel site_id="1162" xmltv_id="AlYoum.ae">Al Youm</channel>
|
||||
<channel site_id="1321" xmltv_id="AlManarTV.lb">Al-Manar TV</channel>
|
||||
<channel site_id="1223" xmltv_id="AlNaharDrama.eg">Al-Nahar Drama</channel>
|
||||
<channel site_id="1193" xmltv_id="AlNaharTV.eg">Al-Nahar TV</channel>
|
||||
<channel site_id="1339" xmltv_id="AlSaeedah.eg">Al-Saeedah</channel>
|
||||
<channel site_id="1161" xmltv_id="AlfaSeries.ae">Alfa Series</channel>
|
||||
<channel site_id="1186" xmltv_id="AlfaSeriesPlus2.ae">Alfa Series +2</channel>
|
||||
<channel site_id="1170" xmltv_id="AlraiTV.kw">Alrai TV</channel>
|
||||
<channel site_id="1301" xmltv_id="Alsumaria.iq">Alsumaria</channel>
|
||||
<channel site_id="1298" xmltv_id="AmmanTV.jo">Amman TV</channel>
|
||||
<channel site_id="1120" xmltv_id="ARTAflam1.sa">ART Aflam 1</channel>
|
||||
<channel site_id="1121" xmltv_id="ARTAflam2.sa">ART Aflam 2</channel>
|
||||
<channel site_id="1195" xmltv_id="ARTCinema.sa">ART Cinema</channel>
|
||||
<channel site_id="1122" xmltv_id="ARTHekayat.sa">ART Hekayat</channel>
|
||||
<channel site_id="1182" xmltv_id="ARTHekayat2.sa">ART Hekayat 2</channel>
|
||||
<channel site_id="1326" xmltv_id="beINBoxOffice1.qa">beIN Box Office 1</channel>
|
||||
<channel site_id="1362" xmltv_id="beINBoxOffice2.qa">beIN Box Office 2</channel>
|
||||
<channel site_id="1309" xmltv_id="beINDrama.qa">beIN Drama</channel>
|
||||
<channel site_id="1323" xmltv_id="beINMoviesAction.qa">beIN Movies Action</channel>
|
||||
<channel site_id="1324" xmltv_id="beINMoviesDrama3.qa">beIN Movies Drama 3</channel>
|
||||
<channel site_id="1325" xmltv_id="beINMoviesFamily.qa">beIN Movies Family</channel>
|
||||
<channel site_id="1322" xmltv_id="beINMoviesPremiere.qa">beIN Movies Premiere</channel>
|
||||
<channel site_id="1327" xmltv_id="beInSeries1.qa">beIn Series 1</channel>
|
||||
<channel site_id="1328" xmltv_id="beInSeries2.qa">beIn Series 2</channel>
|
||||
<channel site_id="1242" xmltv_id="CartoonNetworkArabic.us">Cartoon Network Arabic</channel>
|
||||
<channel site_id="1198" xmltv_id="CBC.eg">CBC</channel>
|
||||
<channel site_id="1199" xmltv_id="CBCDrama.eg">CBC Drama</channel>
|
||||
<channel site_id="1260" xmltv_id="CBCSofra.eg">CBC Sofra</channel>
|
||||
<channel site_id="1176" xmltv_id="Cima.eg">Cima</channel>
|
||||
<channel site_id="1150" xmltv_id="Cinema1.ae">Cinema 1</channel>
|
||||
<channel site_id="1151" xmltv_id="Cinema2.ae">Cinema 2</channel>
|
||||
<channel site_id="1272" xmltv_id="DiscoveryChannelMiddleEastAfrica.us">Discovery Channel Middle East & Africa</channel>
|
||||
<channel site_id="1277" xmltv_id="DisneyChannelMiddleEast.us">Disney Channel Middle East</channel>
|
||||
<channel site_id="1290" xmltv_id="DMC.eg">DMC</channel>
|
||||
<channel site_id="1292" xmltv_id="DMCDrama.eg">DMC Drama</channel>
|
||||
<channel site_id="1173" xmltv_id="DubaiOne.ae">Dubai One</channel>
|
||||
<channel site_id="1169" xmltv_id="DubaiTV.ae">Dubai TV</channel>
|
||||
<channel site_id="1283" xmltv_id="DubaiZaman.ae">Dubai Zaman</channel>
|
||||
<channel site_id="1273" xmltv_id="EMiddleEast.us">E! Middle East</channel>
|
||||
<channel site_id="1315" xmltv_id="EchoroukTV.dz">Echorouk TV</channel>
|
||||
<channel site_id="1145" xmltv_id="ElMehwarTV.eg">El Mehwar TV</channel>
|
||||
<channel site_id="1135" xmltv_id="EmaratTV.ae">Emarat TV</channel>
|
||||
<channel site_id="1233" xmltv_id="Fann.ae">Fann</channel>
|
||||
<channel site_id="1330" xmltv_id="FoxActionMovies.us">Fox Action Movies</channel>
|
||||
<channel site_id="1331" xmltv_id="FoxFamilyMovies.us">Fox Family Movies</channel>
|
||||
<channel site_id="1228" xmltv_id="FoxMiddleEast.us">Fox Middle East</channel>
|
||||
<channel site_id="1126" xmltv_id="FXMiddleEast.us">FX Middle East</channel>
|
||||
<channel site_id="1204" xmltv_id="iFilmArabic.ir">iFilm Arabic</channel>
|
||||
<channel site_id="1369" xmltv_id="KTVAlQurain.kw">KTV Al Qurain</channel>
|
||||
<channel site_id="1370" xmltv_id="KTVKhallikBilbait.kw">KTV Khallik Bilbait</channel>
|
||||
<channel site_id="1310" xmltv_id="KuwaitTV.kw">Kuwait TV</channel>
|
||||
<channel site_id="1313" xmltv_id="LanaTV.lb">Lana TV</channel>
|
||||
<channel site_id="1342" xmltv_id="LanaPlusTV.lb">Lana+ TV</channel>
|
||||
<channel site_id="1341" xmltv_id="LBC.sa">LBC</channel>
|
||||
<channel site_id="1168" xmltv_id="LBCI.lb">LBCI</channel>
|
||||
<channel site_id="1246" xmltv_id="LDC.lb">LDC</channel>
|
||||
<channel site_id="1336" xmltv_id="MasperoZaman.eg">Maspero Zaman</channel>
|
||||
<channel site_id="1127" xmltv_id="MBC.ae">MBC</channel>
|
||||
<channel site_id="1128" xmltv_id="MBC2.ae">MBC 2</channel>
|
||||
<channel site_id="1241" xmltv_id="MBC3.ae">MBC 3</channel>
|
||||
<channel site_id="1129" xmltv_id="MBC4.ae">MBC 4</channel>
|
||||
<channel site_id="1354" xmltv_id="MBC5.ae">MBC 5</channel>
|
||||
<channel site_id="1130" xmltv_id="MBCAction.ae">MBC Action</channel>
|
||||
<channel site_id="1259" xmltv_id="MBCBollywood.ae">MBC Bollywood</channel>
|
||||
<channel site_id="1194" xmltv_id="MBCDrama.ae">MBC Drama</channel>
|
||||
<channel site_id="1131" xmltv_id="MBCDramaPlus.ae">MBC Drama +</channel>
|
||||
<channel site_id="1340" xmltv_id="MBCIraq.ae">MBC Iraq</channel>
|
||||
<channel site_id="1239" xmltv_id="MBCMasr.eg">MBC Masr</channel>
|
||||
<channel site_id="1278" xmltv_id="MBCMasr2.ae">MBC Masr 2</channel>
|
||||
<channel site_id="1132" xmltv_id="MBCMax.ae">MBC Max</channel>
|
||||
<channel site_id="1355" xmltv_id="Mix.eg">Mix</channel>
|
||||
<channel site_id="1371" xmltv_id="MixBelAraby.eg">Mix Bel Araby</channel>
|
||||
<channel site_id="1296" xmltv_id="MTV.lb">MTV</channel>
|
||||
<channel site_id="1343" xmltv_id="Musawa.ps">Musawa</channel>
|
||||
<channel site_id="1275" xmltv_id="NationalGeographicMiddleEast.us">National Geographic Middle East</channel>
|
||||
<channel site_id="1266" xmltv_id="NationalGeographicMiddleEast.us">National Geographic Middle East</channel>
|
||||
<channel site_id="1304" xmltv_id="Nessma.tn">Nessma</channel>
|
||||
<channel site_id="1157" xmltv_id="NileCinema.eg">Nile Cinema</channel>
|
||||
<channel site_id="1158" xmltv_id="NileComedy.eg">Nile Comedy</channel>
|
||||
<channel site_id="1156" xmltv_id="NileDrama.eg">Nile Drama</channel>
|
||||
<channel site_id="1159" xmltv_id="NileLife.eg">Nile Life</channel>
|
||||
<channel site_id="1134" xmltv_id="OnDrama.eg">On Drama</channel>
|
||||
<channel site_id="1203" xmltv_id="OnE.eg">On E</channel>
|
||||
<channel site_id="1211" xmltv_id="OSNAction.ae">OSN Action</channel>
|
||||
<channel site_id="1257" xmltv_id="OSNComedy.ae">OSN Comedy</channel>
|
||||
<channel site_id="1229" xmltv_id="OSNEnigma.ae">OSN Enigma</channel>
|
||||
<channel site_id="1345" xmltv_id="OSNFamily.ae">OSN Family</channel>
|
||||
<channel site_id="1232" xmltv_id="OSNKids.ae">OSN Kids</channel>
|
||||
<channel site_id="1209" xmltv_id="OSNMovies.ae">OSN Movies</channel>
|
||||
<channel site_id="1214" xmltv_id="OSNMoviesFirstPlus2.ae">OSN Movies First +2</channel>
|
||||
<channel site_id="1213" xmltv_id="OSNMoviesFirstPlus2.ae">OSN Movies First +2</channel>
|
||||
<channel site_id="1254" xmltv_id="OSNSeries.ae">OSN Series</channel>
|
||||
<channel site_id="1256" xmltv_id="OSNSeriesFirst.ae">OSN Series First</channel>
|
||||
<channel site_id="1205" xmltv_id="OSNYaHala.ae">OSN Ya Hala</channel>
|
||||
<channel site_id="1250" xmltv_id="OSNYaHalaAlOula.ae">OSN Ya Hala Al Oula</channel>
|
||||
<channel site_id="1285" xmltv_id="OSNYaHalaCinema.ae">OSN Ya Hala Cinema</channel>
|
||||
<channel site_id="1148" xmltv_id="RotanaCinema.sa">Rotana Cinema</channel>
|
||||
<channel site_id="1289" xmltv_id="RotanaCinema.sa">Rotana Cinema</channel>
|
||||
<channel site_id="1217" xmltv_id="RotanaClassic.sa">Rotana Classic</channel>
|
||||
<channel site_id="1358" xmltv_id="RotanaComedy.sa">Rotana Comedy</channel>
|
||||
<channel site_id="1147" xmltv_id="RotanaDrama.sa">Rotana Drama</channel>
|
||||
<channel site_id="1149" xmltv_id="RotanaKhalejia.sa">Rotana Khalejia</channel>
|
||||
<channel site_id="1299" xmltv_id="RoyaTV.jo">Roya TV</channel>
|
||||
<channel site_id="1226" xmltv_id="SadaElBalad.eg">Sada El Balad</channel>
|
||||
<channel site_id="1279" xmltv_id="SadaElBalad2.eg">Sada El Balad 2</channel>
|
||||
<channel site_id="1227" xmltv_id="SadaElBaladDrama.eg">Sada El Balad Drama</channel>
|
||||
<channel site_id="1177" xmltv_id="SamaDubai.ae">Sama Dubai</channel>
|
||||
<channel site_id="1350" xmltv_id="SamaTV.sy">Sama TV</channel>
|
||||
<channel site_id="1352" xmltv_id="SaudiTV.sa">Saudi TV</channel>
|
||||
<channel site_id="1297" xmltv_id="SBC.sa">SBC</channel>
|
||||
<channel site_id="1188" xmltv_id="SharjahTV.ae">Sharjah TV</channel>
|
||||
<channel site_id="1212" xmltv_id="StarMoviesMiddleEast.hk">Star Movies Middle East</channel>
|
||||
<channel site_id="1329" xmltv_id="StarWorldMiddleEast.hk">Star World Middle East</channel>
|
||||
<channel site_id="1300" xmltv_id="SyriaDrama.sy">Syria Drama</channel>
|
||||
<channel site_id="1338" xmltv_id="SyriaTV.tr">Syria TV</channel>
|
||||
<channel site_id="1247" xmltv_id="TCMMiddleEast.us">TCM Middle East</channel>
|
||||
<channel site_id="1280" xmltv_id="TeNTV.eg">TeN TV</channel>
|
||||
<channel site_id="1366" xmltv_id="ThikrayatTV.sa">Thikrayat TV</channel>
|
||||
<channel site_id="1276" xmltv_id="TLCArabia.us">TLC Arabia</channel>
|
||||
<channel site_id="1367" xmltv_id="UTV.iq">UTV</channel>
|
||||
<channel site_id="1308" xmltv_id="Watania1.tn">Watania 1</channel>
|
||||
<channel site_id="1262" xmltv_id="ZeeAflam.in">Zee Aflam</channel>
|
||||
<channel site_id="1261" xmltv_id="ZeeAlwan.in">Zee Alwan</channel>
|
||||
</channels>
|
||||
</site>
|
129
sites/elcinema.com.config.js
Normal file
129
sites/elcinema.com.config.js
Normal file
|
@ -0,0 +1,129 @@
|
|||
const jsdom = require('jsdom')
|
||||
const { JSDOM } = jsdom
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
const timezone = require('dayjs/plugin/timezone')
|
||||
const customParseFormat = require('dayjs/plugin/customParseFormat')
|
||||
|
||||
dayjs.extend(customParseFormat)
|
||||
dayjs.extend(timezone)
|
||||
dayjs.extend(utc)
|
||||
|
||||
module.exports = {
|
||||
lang: 'ar',
|
||||
site: 'elcinema.com',
|
||||
channels: 'elcinema.com.channels.xml',
|
||||
output: '.gh-pages/guides/elcinema.com.guide.xml',
|
||||
url({ channel }) {
|
||||
return `https://elcinema.com/tvguide/${channel.site_id}/`
|
||||
},
|
||||
logo({ content }) {
|
||||
const dom = new JSDOM(content)
|
||||
const img = dom.window.document.querySelector('.intro-box > .row > div.columns.large-2 > img')
|
||||
|
||||
return img.src || null
|
||||
},
|
||||
parser({ content, date }) {
|
||||
const programs = []
|
||||
|
||||
const items = parseItems(content)
|
||||
items.forEach(item => {
|
||||
const title = parseTitle(item)
|
||||
const description = parseDescription(item)
|
||||
const category = parseCategory(item)
|
||||
const icon = parseIcon(item)
|
||||
const start = parseStart(item, date)
|
||||
const duration = parseDuration(item)
|
||||
const stop = start.add(duration, 'm')
|
||||
|
||||
programs.push({
|
||||
title,
|
||||
description,
|
||||
category,
|
||||
icon,
|
||||
start,
|
||||
stop
|
||||
})
|
||||
})
|
||||
|
||||
return programs
|
||||
}
|
||||
}
|
||||
|
||||
function parseIcon(item) {
|
||||
const img =
|
||||
item.querySelector('.row > div.columns.small-3.large-1 > a > img') ||
|
||||
item.querySelector('.row > div.columns.small-5.large-1 > img')
|
||||
|
||||
return img.dataset.src || null
|
||||
}
|
||||
|
||||
function parseCategory(item) {
|
||||
const category = (
|
||||
item.querySelector('.row > div.columns.small-6.large-3 > ul > li:nth-child(2)') || {
|
||||
textContent: ''
|
||||
}
|
||||
).textContent
|
||||
|
||||
return category.replace(/\(\d+\)/, '').trim()
|
||||
}
|
||||
|
||||
function parseDuration(item) {
|
||||
const duration = (
|
||||
item.querySelector('.row > div.columns.small-3.large-2 > ul > li:nth-child(2) > span') ||
|
||||
item.querySelector('.row > div.columns.small-7.large-11 > ul > li:nth-child(2) > span') || {
|
||||
textContent: ''
|
||||
}
|
||||
).textContent
|
||||
|
||||
return duration.replace(/\D/g, '')
|
||||
}
|
||||
|
||||
function parseStart(item, initDate) {
|
||||
let time = (
|
||||
item.querySelector('.row > div.columns.small-3.large-2 > ul > li:nth-child(1)') ||
|
||||
item.querySelector('.row > div.columns.small-7.large-11 > ul > li:nth-child(2)') || {
|
||||
textContent: ''
|
||||
}
|
||||
).textContent
|
||||
|
||||
time = time
|
||||
.replace(/\[.*\]/, '')
|
||||
.replace('مساءً', 'PM')
|
||||
.replace('صباحًا', 'AM')
|
||||
.trim()
|
||||
|
||||
time = `${initDate.format('DD/MM/YYYY')} ${time}`
|
||||
|
||||
return dayjs.tz(time, 'DD/MM/YYYY H:mm A', 'Africa/Algiers')
|
||||
}
|
||||
|
||||
function parseTitle(item) {
|
||||
return (
|
||||
item.querySelector('.row > div.columns.small-6.large-3 > ul > li:nth-child(1) > a') ||
|
||||
item.querySelector('.row > div.columns.small-7.large-11 > ul > li:nth-child(1)') || {
|
||||
textContent: ''
|
||||
}
|
||||
).textContent
|
||||
}
|
||||
|
||||
function parseDescription(item) {
|
||||
const excerpt = (
|
||||
item.querySelector('.row > div.columns.small-12.large-6 > ul > li:nth-child(3)') || {
|
||||
textContent: ''
|
||||
}
|
||||
).textContent
|
||||
const desc = (
|
||||
item.querySelector('.row > div.columns.small-12.large-6 > ul > li:nth-child(3) > .hide') || {
|
||||
textContent: ''
|
||||
}
|
||||
).textContent
|
||||
|
||||
return excerpt.replace('...اقرأ المزيد', '') + desc
|
||||
}
|
||||
|
||||
function parseItems(content) {
|
||||
const dom = new JSDOM(content)
|
||||
|
||||
return dom.window.document.querySelectorAll('.tvgrid > div:nth-child(2) > .padded-half')
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue