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.
 
Meliurwen 3bb3cab83b
Added ability to generate a playlist, added use cases to README
4 years ago
.gitignore Let's start watching TV without useless clutter 📺 4 years ago
LICENSE Added LICENSE and updated description 4 years ago
README.md Added ability to generate a playlist, added use cases to README 4 years ago
channels.json Added ability to generate a playlist, added use cases to README 4 years ago
iptv_network_extract.py Added ability to generate a playlist, added use cases to README 4 years ago
lint-requirements.txt Let's start watching TV without useless clutter 📺 4 years ago
requirements.txt Let's start watching TV without useless clutter 📺 4 years ago
setup.cfg Let's start watching TV without useless clutter 📺 4 years ago

README.md

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:

./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