Update elcinema.com

This commit is contained in:
freearhey 2023-12-03 15:12:31 +03:00
parent 283bc7eba4
commit f1bf2eea80
4 changed files with 43 additions and 8 deletions

View file

@ -1,7 +1,3 @@
// npm run channels:parse -- --config=./sites/elcinema.com/elcinema.com.config.js --output=./sites/elcinema.com/elcinema.com_ar.channels.xml --set=lang:ar
// npm run channels:parse -- --config=./sites/elcinema.com/elcinema.com.config.js --output=./sites/elcinema.com/elcinema.com_en.channels.xml --set=lang:en
// npm run grab -- --site=elcinema.com
const { parser, url } = require('./elcinema.com.config.js')
const fs = require('fs')
const path = require('path')

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<!-- <channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1125">فوكس موفيز</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1125">فوكس موفيز</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1246">ال دي سي</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1299">رؤيا</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1314">الأردن</channel>
@ -17,7 +17,7 @@
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1383">الوسط</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1385">دجلة</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1386">دجلة زمان</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1388">الشمس</channel> -->
<channel site="elcinema.com" lang="ar" xmltv_id="" site_id="1388">الشمس</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="2MInternational.ma" site_id="1353">المغربية الثانية</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="AbuDhabiTV.ae" site_id="1136">أبو ظبي</channel>
<channel site="elcinema.com" lang="ar" xmltv_id="AlAoulaMiddleEast.ma" site_id="1312">الأولى المغربية</channel>

View file

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<!-- <channel site="elcinema.com" lang="en" xmltv_id="" site_id="1125">Fox Movies</channel>
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1125">Fox Movies</channel>
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1246">LDC</channel>
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1349">Iraqia TV</channel>
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1360">Salam TV</channel>
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1373">Mix ONE</channel>
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1380">atv</channel>
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1383">WTV</channel>
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1386">Dijlah Zaman</channel> -->
<channel site="elcinema.com" lang="en" xmltv_id="" site_id="1386">Dijlah Zaman</channel>
<channel site="elcinema.com" lang="en" xmltv_id="2MInternational.ma" site_id="1353">2M TV</channel>
<channel site="elcinema.com" lang="en" xmltv_id="AbuDhabiTV.ae" site_id="1136">Abu Dhabi TV</channel>
<channel site="elcinema.com" lang="en" xmltv_id="AlAoulaMiddleEast.ma" site_id="1312">Al Aoula Morocco</channel>

View file

@ -0,0 +1,39 @@
# elcinema.com
https://elcinema.com/tvguide/ (Arabic)
https://elcinema.com/en/tvguide/ (English)
### Download the guide
Arabic:
```sh
npm run grab -- --site=elcinema.com --lang=ar
```
English:
```sh
npm run grab -- --site=elcinema.com --lang=en
```
### Update channel list
Arabic:
```sh
npm run channels:parse -- --config=./sites/elcinema.com/elcinema.com.config.js --output=./sites/elcinema.com/elcinema.com_ar.channels.xml --set=lang:ar
```
English:
```sh
npm run channels:parse -- --config=./sites/elcinema.com/elcinema.com.config.js --output=./sites/elcinema.com/elcinema.com_en.channels.xml --set=lang:en
```
### Test
```sh
npm test -- elcinema.com
```