mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
Update README.md
This commit is contained in:
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:
|
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
|
```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:
|
After the download is completed in the current directory will appear a new folder `guides`, which will store all XML files:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
guides
|
guides
|
||||||
└── en
|
└── fr
|
||||||
└── example.com.xml
|
└── example.com.xml
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -62,13 +68,13 @@ npm run serve
|
|||||||
After that all the downloaded guides will be available at a link like this:
|
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:
|
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
|
## Playlists
|
||||||
|
|||||||
Reference in New Issue
Block a user