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.
1.3 KiB
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*
- Discovery Network
* the service is irregular/occasional
Use
To show help message:
./iptv_network_extract.py -h
To list the supported sources with their channels:
./iptv_network_extract.py -l
To list the supported channels of a source:
./iptv_network_extract.py -s SOURCE -l
To extract the link for a channel:
./iptv_network_extract.py -s SOURCE -c CHANNEL
You can also pipe the link directly to a player like mpv
:
./iptv_network_extract.py -s SOURCE -c CHANNEL | mpv --playlist=-
To generate a playlist piping in a list of channels:
./iptv_network_extract.py -l | ./iptv_network_extract.py -p > /tmp/playlist.m3u8
You can also wire everything together like this:
./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:
ffmpeg -i "$(./iptv_network_extract.py -s dplay-it -c dmax)" -bsf:a aac_adtstoasc -vcodec copy -c copy file.mp4