Update beinsports.com

This commit is contained in:
freearhey 2023-12-03 00:06:35 +03:00
parent 91345d6c3d
commit baeb90a7c5

View file

@ -1,119 +1,26 @@
# beinsports.com # beinsports.com
https://www.beinsports.com/en-au/tv-guide (Australia) | | Region | Language | URL |
| -------------- | ------ | -------- | ------------------------------------------------------------------------------------ |
https://www.beinsports.com/fr-fr/tv-guide (France) | Australia | `au` | `en` | https://www.beinsports.com/en-au/tv-guide |
| France | `fr` | `fr` | https://www.beinsports.com/fr-fr/tv-guide |
https://www.beinsports.com/ar-mena/%D8%AC%D8%AF%D9%88%D9%84-%D8%A7%D9%84%D8%A8%D8%AB (MENA - Arabic) | MENA (Arabic) | `mena` | `ar` | https://www.beinsports.com/ar-mena/%D8%AC%D8%AF%D9%88%D9%84-%D8%A7%D9%84%D8%A8%D8%AB |
| MENA (English) | `mena` | `en` | https://www.beinsports.com/en-mena/tv-guide |
https://www.beinsports.com/en-mena/tv-guide (MENA - English) | Malaysia | `my` | `en` | https://www.beinsports.com/en-my/tv-guide |
| New Zealand | `nz` | `en` | https://www.beinsports.com/en-nz/tv-guide |
https://www.beinsports.com/en-my/tv-guide (Malaysia) | US (English) | `us` | `en` | https://www.beinsports.com/en-us/tv-guide |
| US (Spanish) | `us` | `es` | https://www.beinsports.com/es-us/tv-guide |
https://www.beinsports.com/en-nz/tv-guide (New Zealand)
https://www.beinsports.com/en-us/tv-guide (US - English)
https://www.beinsports.com/es-us/tv-guide (US - Spanish)
### Download the guide ### Download the guide
Australia:
```sh ```sh
npm run grab -- --channels=sites/beinsports.com/beinsports.com_au-en.channels.xml npm run grab -- --channels=sites/beinsports.com/beinsports.com_<REGION_CODE>-<LANGUAGE_CODE>.channels.xml
```
France:
```sh
npm run grab -- --channels=sites/beinsports.com/beinsports.com_fr-fr.channels.xml
```
MENA (Arabic):
```sh
npm run grab -- --channels=sites/beinsports.com/beinsports.com_mena-ar.channels.xml
```
MENA (English):
```sh
npm run grab -- --channels=sites/beinsports.com/beinsports.com_mena-en.channels.xml
```
Malaysia:
```sh
npm run grab -- --channels=sites/beinsports.com/beinsports.com_my-en.channels.xml
```
New Zealand:
```sh
npm run grab -- --channels=sites/beinsports.com/beinsports.com_nz-en.channels.xml
```
US (English):
```sh
npm run grab -- --channels=sites/beinsports.com/beinsports.com_us-en.channels.xml
```
US (Spanish):
```sh
npm run grab -- --channels=sites/beinsports.com/beinsports.com_us-es.channels.xml
``` ```
### Update channel list ### Update channel list
Australia:
```sh ```sh
npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_au-en.channels.xml --set=region:au --set=lang:en npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_<REGION_CODE>-<LANGUAGE_CODE>.channels.xml --set=region:<REGION_CODE> --set=lang:<LANGUAGE_CODE>
```
France:
```sh
npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_fr-fr.channels.xml --set=region:fr --set=lang:fr
```
MENA (Arabic):
```sh
npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_mena-ar.channels.xml --set=region:mena --set=lang:ar
```
MENA (English):
```sh
npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_mena-en.channels.xml --set=region:mena --set=lang:en
```
Malaysia:
```sh
npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_my-en.channels.xml --set=region:my --set=lang:en
```
New Zealand:
```sh
npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_nz-en.channels.xml --set=region:nz --set=lang:en
```
US (English):
```sh
npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_us-en.channels.xml --set=region:us --set=lang:en
```
US (Spanish):
```sh
npm run channels:parse -- --config=./sites/beinsports.com/beinsports.com.config.js --output=./sites/beinsports.com/beinsports.com_us-es.channels.xml --set=region:us --set=lang:es
``` ```
### Test ### Test