Extracts original m3u8 links directly from multiple IPTV networks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
iptv-network-extract/README.md

71 lines
1.3 KiB

# IPTV Network Extract
Extracts original m3u8 links from multiple IPTV networks.
## Channels Supported
+ Italy 🇮🇹
+ Discovery Network
+ realtime
+ nove
+ dmax
+ giallo
+ k-2
+ frisbee
+ motor-trend
+ food-network
+ home-and-garden-tv
+ eurosport1\*
+ eurosport2\*
\* the service is irregular/occasional
## Use
To show _help_ message:
```sh
./iptv_network_extract.py -h
```
To list the supported _sources_ with their _channels_:
```sh
./iptv_network_extract.py -l
```
To list the supported _channels_ of a _source_:
```sh
./iptv_network_extract.py -s SOURCE -l
```
To extract the _link_ for a _channel_:
```sh
./iptv_network_extract.py -s SOURCE -c CHANNEL
```
You can also pipe the link directly to a player like `mpv`:
```sh
./iptv_network_extract.py -s SOURCE -c CHANNEL | mpv --playlist=-
```
To generate a playlist piping in a list of channels:
```sh
./iptv_network_extract.py -l | ./iptv_network_extract.py -p > /tmp/playlist.m3u8
```
You can also wire everything together like this:
```sh
./iptv_network_extract.py s- dplay-it -l | ./iptv_network_extract.py -p > /tmp/playlist.m3u8 && mpv --playlist=/tmp/playlist.m3u8
```
Or if you prefer record the streams:
```sh
ffmpeg -i "$(./iptv_network_extract.py -s dplay-it -c dmax)" -bsf:a aac_adtstoasc -vcodec copy -c copy file.mp4
```