A high-performance Python script to download videos from Bunny CDN with DRM support and quality selection options. Features optimized download speeds with progress tracking.
- Fast video downloads with multi-threading support
- Real-time download progress with speed and ETA
- Quality selection with detailed specifications
- Supports multiple quality options:
- 2160p (4K UHD) - Resolution: 3840x2160, Bitrate: 35-45 Mbps
- 1440p (2K QHD) - Resolution: 2560x1440, Bitrate: 16-24 Mbps
- 1080p (Full HD) - Resolution: 1920x1080, Bitrate: 8-12 Mbps
- 720p (HD) - Resolution: 1280x720, Bitrate: 5-7.5 Mbps
- 480p (SD) - Resolution: 854x480, Bitrate: 2.5-4 Mbps
- 360p (LD) - Resolution: 640x360, Bitrate: 1-1.5 Mbps
- 240p (Very LD) - Resolution: 426x240, Bitrate: 0.5-0.7 Mbps
- Automatic resume of interrupted downloads
- Cross-platform support (Windows, Linux, macOS)
- Python 3.7 or higher
- pip (Python package installer)
- Install Python from python.org
- Clone the repository:
git clone https://github.com/01RG0/yt-dlp-downloader.git
cd yt-dlp-downloader- Install requirements:
python -m pip install -r requirements.txt- Install Python and git:
sudo apt update
sudo apt install python3 python3-pip git- Clone the repository:
git clone https://github.com/yourusername/bunny-cdn-video-downloader.git
cd bunny-cdn-video-downloader- Install requirements:
python3 -m pip install -r requirements.txt- Install Homebrew if not already installed:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- Install Python:
brew install python- Clone the repository:
git clone https://github.com/yourusername/bunny-cdn-video-downloader.git
cd bunny-cdn-video-downloader- Install requirements:
python3 -m pip install -r requirements.txtpython b-cdn-drm-vod-dl.pypython3 b-cdn-drm-vod-dl.pyThe script will prompt for:
- Embed URL of the video
- Desired filename (without extension)
- Download path (optional)
- Windows default:
~/Videos/Bunny CDN/ - Linux/macOS default:
~/Videos/Bunny CDN/
- Windows default:
Then:
- Available video qualities will be displayed with detailed specifications
- Select your preferred quality by entering the corresponding number
- The download will start with a progress bar showing:
- Download speed
- Progress percentage
- ETA (Estimated Time of Arrival)
- File size
- The script uses multi-threading for improved download speed
- Downloads are automatically resumed if interrupted
- Temporary files are cleaned up after download completion
- For best performance, ensure a stable internet connection
If you encounter any issues:
- Check your internet connection
- Verify the embed URL is correct
- Ensure you have write permissions in the download directory
- Try updating the dependencies:
python -m pip install -r requirements.txt --upgrade
- Check if the video is still available on the server
- The script will automatically detect available quality options for the video
- Higher quality videos will require more bandwidth and storage space
- The download will be saved with the .mp4 extension
- If no download path is specified, files will be saved to ~/Videos/Bunny CDN/
- Python 3.7+
- requests
- yt-dlp
MIT License - feel free to use and modify as needed.