YouTube Downloader

This function downloads a YouTube video as an MP4 file in any specified resolution.

⚠️ Deprecation Notice: This function will be deprecated on January 15. It has been replaced with the new app: YouTube Downloader. Please move to the new app for continued support and updates.

Pricing

Pricing is currently calculated using a combination of our compute based pricing for cpu functions and a pay-as-you-go charge of 0.1 per GB downloaded. Pricing is subject to change.

Local development

cd youtube_downloader
pip install sievedata
pip install git+https://github.com/sieve-community/pytube.git
python main.py

Note: To add proxies in local development, set the YOUTUBE_PROXIES environment variable to a JSON array of proxies.