A Google Colab–based Python notebook that allows you to batch download movies or TV show episodes from Tubi TV directly into Google Drive using yt-dlp.
This repository contains a ready-to-use Jupyter Notebook (TD.ipynb) designed specifically for Google Colab, with episode listing, range selection, and parallel downloads.
- ✅ Runs entirely on Google Colab (no local setup required)
- 📁 Saves downloaded files directly to Google Drive
- 🎬 Automatically detects show / playlist title
- 📜 Lists all available episodes before downloading
- 🔢 Allows custom range selection (example:
1-10) - ⚡ Supports parallel downloads (5 at a time by default)
- 🎧 Downloads best available video + audio
- 📦 Automatically merges output into MP4 format
- 🧼 Clean and minimal progress output
Tubi-TV-Batch-Downloader/
├── TD.ipynb # Main Google Colab notebook
├── README.md # Project documentation
└── LICENSE # MIT License
You only need:
- A Google account
- Access to Google Colab
- Stable internet connection
All required Python packages are installed automatically inside Colab.
- Python 3
- yt-dlp
- Google Colab
- Google Drive
- subprocess
- concurrent.futures.ThreadPoolExecutor
Upload TD.ipynb to Google Colab
OR
Open Colab → Upload Notebook → Select TD.ipynb
- Run the single main cell
- Authorize Google Drive when prompted
When asked:
Paste Tubi Link:
Example:
https://tubitv.com/series/300009876/example-show
The notebook will list episodes like:
1. Episode One
2. Episode Two
3. Episode Three
Enter your desired range:
1-10
- Downloads run in parallel
- Files are saved automatically to Google Drive
- Final success message appears when complete
Downloaded files are saved to Google Drive as:
Google Drive/
└── MyDrive/
└── TubiShows/
└── Show Name/
├── Episode 1.mp4
├── Episode 2.mp4
└── ...
You may edit these values inside the notebook:
save_path_base = "/content/drive/MyDrive/TubiShows"
ThreadPoolExecutor(max_workers=5)- Reduce
max_workersif downloads fail - Change
save_path_baseto customize storage location
- ❌ DRM-protected Tubi content cannot be downloaded
- ❌ Live streams are not supported
⚠️ Too many parallel downloads may cause temporary throttling⚠️ Google Colab sessions may disconnect if idle too long
Drive not mounting?
Re-run the notebook cell and reauthorize Drive.
Some episodes fail?
Lower parallel workers:
ThreadPoolExecutor(max_workers=3)Show name not detected?
Manual input will be requested — this is expected for some playlists.
This project is intended for educational and personal use only.
- Do NOT redistribute downloaded content
- Follow Tubi TV’s Terms of Service
- The author is not responsible for misuse
Please support original content creators.
Pull requests are welcome.
Ideas for improvements:
- Resume interrupted downloads
- Season / Episode auto-naming (S01E01)
- Quality selection menu
- Subtitle support
- One-click “Open in Colab” badge
Mahesh Varma
GitHub: https://github.com/MaheshTechnicals
If this project helped you, consider giving the repository a ⭐