A Python script to fetch streaming data from thetvapp.io
API and generate an M3U playlist file.
AI SCRIPT + smart human
- Fetch live stream data dynamically from API.
- Generate a properly formatted
.m3u
playlist. - Save output to a local file for use in media players.
-
Clone this repository:
-
Navigate into the project folder:
-
Install dependencies:
Edit the config.py
file:
- BASE_URL: Replace with the API endpoint.
- TOKEN: Add your authentication token.
- OUTPUT_FILE: Customize output filename if desired.
-
Run the script:
-
Locate your generated playlist: