A minimal CLI downloader for Terabox files. Fetches direct links, supports resume, progress bars, retries, and proxy fallbacks.
- Resumable downloads with ETA/speed tracking.
- Auto-retries on timeouts (3x with backoff).
- Proxy option for stability.
- Colored, clean output with CLI tips.
To authenticate with Terabox, you need the ndus cookie. Edit the script after getting it.
-
Install Cookie Editor:
- Chrome: Cookie-Editor Extension
- Firefox: Cookie-Editor Add-on
- Install and restart your browser.
-
Get
ndusCookie:- Open 1024terabox.com in your browser.
- Log in if needed (for private shares).
- Click the Cookie Editor icon → View all cookies → Find
ndus→ Copy its value (e.g.,YSj9BCeteHuiXfBtS...........).
-
Edit Script:
- Open
tera-dl.py. - Find line {24} :
COOKIES = "ndus=YourValueHere" - Replace with:
COOKIES = "ndus=YOUR_COPIED_VALUE" - Save.
- Open
git clone https://github.com/eyeblech/tera-dl.git
cd tera-dl
pip install tqdm requestspython tera-dl.py https://1024terabox.com/s/1ABC1.....- Enter for direct download (default).
1for proxy.
Sample Output:
Fetching direct download link...
══════════════════════════════════════════════════════════════════════
File Name: video.mp4 | Size: 310 MB | Fetched: 2030-12-14 10:30
──────────────────────────────────────────────────────────────────────
Direct: https://d.1024terabox.com/file/...? (copy-paste ready)
Proxy: https://terabox.ashlynn.workers.dev/proxy?...
CLI: aria2c --continue=true "direct-link" | wget -c -O "video.mp4" "direct-link"
══════════════════════════════════════════════════════════════════════
What next? 0 (Enter) - Direct | 1 - Proxy
Enter choice [0]:
Download starts with progress bar; resumes if interrupted.
Huge thanks to @Itz-Ashlynn for Terabox-Web—the API that makes this all possible. Star the repo if it helps! 🌟
MIT—see LICENSE.