Update readme.md

This commit is contained in:
freearhey 2025-02-02 06:29:43 +03:00
parent 2b7be2e588
commit 2c55431482

View file

@ -2,16 +2,36 @@
https://www.abc.net.au/tv/epg/ https://www.abc.net.au/tv/epg/
| Region | Code |
| ------------------ | ----- |
| Sydney | `syd` |
| Melbourne | `mel` |
| Brisbane | `bri` |
| Gold Coast | `gc` |
| Perth | `per` |
| Adelaide | `adl` |
| Hobart | `hbr` |
| Darwin | `drw` |
| Canberra | `cbr` |
| New South Wales | `nsw` |
| Victoria | `vic` |
| Townsville | `tsv` |
| Queensland | `qld` |
| Western Australia | `wa` |
| South Australia | `sa` |
| Tasmania | `tas` |
| Northern Territory | `nt` |
### Download the guide ### Download the guide
```sh ```sh
npm run grab --- --site=abc.net.au npm run grab --- --channels=sites/abc.net.au/abc.net.au_<REGION_CODE>.channels.xml
``` ```
### Update channel list ### Update channel list
```sh ```sh
npm run channels:parse --- --config=./sites/abc.net.au/abc.net.au.config.js --output=./sites/abc.net.au/abc.net.au.channels.xml npm run channels:parse --- --config=./sites/abc.net.au/abc.net.au.config.js --output=./sites/abc.net.au/abc.net.au_<REGION_CODE>.channels.xml --set=region:<REGION_CODE>
``` ```
### Test ### Test