This bot fetches multiple IPTV M3U playlists, checks each video stream for availability, and combines all working streams into a single .m3u file.
Click to copy:
https://raw.githubusercontent.com/ashik4u/iptv-m3u-bot/refs/heads/main/output/all.m3u
- Fetches and parses several M3U playlist files
- Checks each stream for availability
- Produces one combined M3U (
all.m3u) with working streams only - Automated update via GitHub Actions (fetches + generates daily)
-
Install dependencies
pip install -r requirements.txt -
Run the script
python scripts/m3u_working_streams_combined.py -
Your working streams will be in
output/all.m3u.
A GitHub Actions workflow runs daily and/or on repository push to regenerate and commit all.m3u.
- To check different playlists, add URLs to
data/feed.txt. - To adjust concurrency or request timeouts, modify respective params in the script.
MIT