From f1bf2eea8040aa7d3d1da8dc694f292afe7fd33f Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sun, 3 Dec 2023 15:12:31 +0300 Subject: [PATCH] Update elcinema.com --- sites/elcinema.com/elcinema.com.test.js | 4 -- .../elcinema.com/elcinema.com_ar.channels.xml | 4 +- .../elcinema.com/elcinema.com_en.channels.xml | 4 +- sites/elcinema.com/readme.md | 39 +++++++++++++++++++ 4 files changed, 43 insertions(+), 8 deletions(-) create mode 100644 sites/elcinema.com/readme.md diff --git a/sites/elcinema.com/elcinema.com.test.js b/sites/elcinema.com/elcinema.com.test.js index 979e1370..553269ff 100644 --- a/sites/elcinema.com/elcinema.com.test.js +++ b/sites/elcinema.com/elcinema.com.test.js @@ -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') diff --git a/sites/elcinema.com/elcinema.com_ar.channels.xml b/sites/elcinema.com/elcinema.com_ar.channels.xml index 42513537..6496f46d 100644 --- a/sites/elcinema.com/elcinema.com_ar.channels.xml +++ b/sites/elcinema.com/elcinema.com_ar.channels.xml @@ -1,6 +1,6 @@ - + الشمس المغربية الثانية أبو ظبي الأولى المغربية diff --git a/sites/elcinema.com/elcinema.com_en.channels.xml b/sites/elcinema.com/elcinema.com_en.channels.xml index 3728da75..36ee44dc 100644 --- a/sites/elcinema.com/elcinema.com_en.channels.xml +++ b/sites/elcinema.com/elcinema.com_en.channels.xml @@ -1,13 +1,13 @@ - + Dijlah Zaman 2M TV Abu Dhabi TV Al Aoula Morocco diff --git a/sites/elcinema.com/readme.md b/sites/elcinema.com/readme.md new file mode 100644 index 00000000..e2f030ef --- /dev/null +++ b/sites/elcinema.com/readme.md @@ -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 +```