mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 08:30:06 -04:00
Update README.md
This commit is contained in:
parent
ffeeaf2fa2
commit
195b9d35bc
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -42,14 +42,20 @@ npm install
|
|||
Now choose one of the sources (their complete list can be found in the [/sites](https://github.com/iptv-org/epg/tree/master/sites) folder) and start downloading the guide using the command:
|
||||
|
||||
```sh
|
||||
npm run grab example.com
|
||||
npm run grab -- --site=example.com
|
||||
```
|
||||
|
||||
To download a guide in a specific language pass its [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code to the `--lang` argument:
|
||||
|
||||
```sh
|
||||
npm run grab -- --site=example.com --lang=fr
|
||||
```
|
||||
|
||||
After the download is completed in the current directory will appear a new folder `guides`, which will store all XML files:
|
||||
|
||||
```sh
|
||||
guides
|
||||
└── en
|
||||
└── fr
|
||||
└── example.com.xml
|
||||
```
|
||||
|
||||
|
@ -62,13 +68,13 @@ npm run serve
|
|||
After that all the downloaded guides will be available at a link like this:
|
||||
|
||||
```
|
||||
http://localhost:3000/guides/en/example.com.xml
|
||||
http://localhost:3000/guides/fr/example.com.xml
|
||||
```
|
||||
|
||||
In addition, they will be available on your local network at:
|
||||
|
||||
```
|
||||
http://<your_local_ip_address>:3000/guides/en/example.com.xml
|
||||
http://<your_local_ip_address>:3000/guides/fr/example.com.xml
|
||||
```
|
||||
|
||||
## Playlists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue