Update readme.md

This commit is contained in:
freearhey 2025-01-19 19:37:52 +03:00
parent 4d0df65510
commit e1bc533e8b

View file

@ -4,14 +4,42 @@ https://m.tv.sms.cz/
### Download the guide
Windows (Command Prompt):
```sh
npm run grab --- --site=m.tv.sms.cz
SET "NODE_OPTIONS=--tls-cipher-list=DEFAULT@SECLEVEL=0" && npm run grab --- --site=m.tv.sms.cz
```
Windows (PowerShell):
```sh
$env:NODE_OPTIONS="--tls-cipher-list=DEFAULT@SECLEVEL=0"; npm run grab --- --site=m.tv.sms.cz
```
Linux and macOS:
```sh
NODE_OPTIONS='--tls-cipher-list=DEFAULT@SECLEVEL=0' npm run grab --- --site=m.tv.sms.cz
```
### Update channel list
Windows (Command Prompt):
```sh
npm run channels:parse --- --config=./sites/m.tv.sms.cz/m.tv.sms.cz.config.js --output=./sites/m.tv.sms.cz/m.tv.sms.cz.channels.xml
SET "NODE_OPTIONS=--tls-cipher-list=DEFAULT@SECLEVEL=0" && npm run channels:parse --- --config=./sites/m.tv.sms.cz/m.tv.sms.cz.config.js --output=./sites/m.tv.sms.cz/m.tv.sms.cz.channels.xml
```
Windows (PowerShell):
```sh
$env:NODE_OPTIONS="--tls-cipher-list=DEFAULT@SECLEVEL=0"; npm run channels:parse --- --config=./sites/m.tv.sms.cz/m.tv.sms.cz.config.js --output=./sites/m.tv.sms.cz/m.tv.sms.cz.channels.xml
```
Linux and macOS:
```sh
NODE_OPTIONS='--tls-cipher-list=DEFAULT@SECLEVEL=0' npm run channels:parse --- --config=./sites/m.tv.sms.cz/m.tv.sms.cz.config.js --output=./sites/m.tv.sms.cz/m.tv.sms.cz.channels.xml
```
### Test