Generate bash script for downloading of TV series from IPTV providers.
Our php script will create you bash download script that will automatically download your episodes and organize them in the correct directory structure.
Series Download Bash Script Generator
Automatically generate bash scripts to bulk download complete TV Series with all seasons and episodes from any IPTV provider — then let your panel's Folder Watch auto-import, encode, and tag everything with TMDB data.
Episodes are automatically named in standard SxxExx format and organized into proper directory structures. Just run the script and everything is handled automatically.
🔄 How It Works — Full Automated Pipeline
This tool connects your IPTV source directly to your panel's series library. Here's the complete workflow from start to finish:
Paste Your M3U Playlist URL — Enter your IPTV playlist link into the web interface.
Browse & Select Series — Choose a category, search for specific series, and select the titles you want to download.
Generate Your Bash Script — The tool creates a ready-to-run bash script with full directory structure (Host > Category > Series > Seasons), retry logic, and all episode download URLs.
Run the Script on Your Storage Server — Execute the generated script on your server. It automatically creates all directories, downloads every episode, and names them in SxxExx format (e.g., S02E15.mp4).
Enable Folder Watch on Your Panel — Your panel detects the newly downloaded episodes and automatically imports them, encodes them, and pulls full TMDB metadata (poster, title, description, cast, year, genre, etc.).
✅ End Result: From selecting series to having fully tagged, encoded episodes in your panel — with just a few clicks and one script execution. Almost everything is fully automated.
Key Features
⏱️ Full Automation: Generate complete download scripts instantly — eliminate hours of manual setup.
🗂️ Organized Directory Structure: Automatically creates Host > Category > Series > Seasons folders — maintaining a clean, organized library.
📺 Standard Episode Naming: Files named in SxxExx format (e.g., S02E15.mp4) for easy identification and panel compatibility.
🔄 Panel Folder Watch Integration: Downloaded episodes are auto-detected by your panel's Folder Watch — it imports, encodes, and applies TMDB data automatically.
📥 Bulk & Complete Series: Download entire seasons or multiple series at once with a single script.
🔁 Reliable Downloads: Uses wget with retry options and user-agent headers to ensure successful, uninterrupted downloads.
🔍 Search & Selection Tools: Find and select series easily from large catalogs with integrated search and category filtering.
🎯 User-Friendly Web Interface: No command line knowledge needed to generate the script — just point, click, and generate.
💻 Cross-Platform: Generated bash scripts run on any Linux server or VPS.
Advanced Options
🛠️ Custom Download Path: Specify your preferred storage location to match your panel's Folder Watch directory.
🌐 Proxy Support: Configure proxies to mask your server IP or access geo-restricted content.
⚙️ Multiple Download Engines: Choose between wget and axel for flexible download management.
🖥️ Custom User-Agent: Set your own user-agent string to avoid blocks or throttling from source servers.
🚀 Speed Limit Bypass: Built-in mechanisms to work around server-side speed throttling.
Security & Technical Details
Your credentials are processed only in memory — they are never stored on the server.
Input sanitization protects against common web vulnerabilities.
Requires PHP 7.0+ with cURL. Frontend built with Bootstrap 4 & jQuery.
Generated scripts are compatible with any Linux distribution or PHP hosting.