Update bein.com

This commit is contained in:
freearhey 2023-12-02 18:49:40 +03:00
parent fe7a23ac09
commit 94ca72f198
2 changed files with 39 additions and 4 deletions

View file

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

39
sites/bein.com/readme.md Normal file
View file

@ -0,0 +1,39 @@
# bein.com
https://www.bein.com/ar/%D8%AC%D8%AF%D9%88%D9%84-%D8%A7%D9%84%D8%A8%D8%AB/ (Arabic)
https://www.bein.com/en/tv-guide/ (English)
### Download the guide
Arabic:
```sh
npm run grab -- --site=bein.com --lang=ar
```
English:
```sh
npm run grab -- --site=bein.com --lang=en
```
### Update channel list
Arabic:
```sh
npm run channels:parse -- --config=./sites/bein.com/bein.com.config.js --output=./sites/bein.com/bein.com_ar.channels.xml --set=lang:ar
```
English:
```sh
npm run channels:parse -- --config=./sites/bein.com/bein.com.config.js --output=./sites/bein.com/bein.com_en.channels.xml --set=lang:en
```
### Test
```sh
npm test -- bein.com
```