Overview
yt-dlp makes it easy to download videos from thousands of supported sites. This guide covers the fundamental workflows for downloading videos effectively.Basic Download
The simplest way to download a video is to provide the URL:-f bestvideo*+bestaudio/best.
Selecting Video Quality
1
List available formats
View all available quality options before downloading:This displays a table showing format codes, resolutions, codecs, and file sizes.
2
Choose a specific format
Download using a format code from the list:
3
Use format selectors
Select formats using criteria instead of specific codes:
Quality Preferences
Download best quality up to a limit
Download Multiple Videos
From a file
Create a text file with URLs (one per line):urls.txt
Multiple URLs directly
Output Location
Customize where files are saved:Common Download Scenarios
Download for offline viewing
Quick download (smallest file)
High quality archival
Download with Retries
Resume Interrupted Downloads
yt-dlp automatically resumes partially downloaded files:Speed Limiting
Control download speed to avoid network congestion:Batch Download Best Practices
- Waits 5-15 seconds between downloads
- Waits 1 second between requests
- Tracks downloaded videos to avoid duplicates
Troubleshooting
Video unavailable or private
Age-restricted content
Geo-restricted content
Next Steps
Audio Extraction
Extract audio from videos in various formats
Playlists
Download entire playlists and channels
Format Selection
Advanced format selection options
Output Templates
Customize file naming and organization