1 | Download a YouTube video | yt-dlp |
2 | Download a video in the best quality available | yt-dlp -f best |
3 | Download only the audio of a video | yt-dlp -x --audio-format mp3 |
4 | Download a video playlist | yt-dlp -cit |
5 | Download videos from a text file containing multiple URLs | yt-dlp -a [file.txt] |
6 | Download a video with specific format and quality | yt-dlp -f [format code]+[quality code] |
7 | Download subtitles for a video | yt-dlp --write-sub |
8 | Download videos from a specific channel | yt-dlp -i [channel URL] |
9 | Download a video with specific language subtitles | yt-dlp --sub-lang [language code] |
10 | Download only the video thumbnail | yt-dlp --write-thumbnail |
11 | Download a video and limit the download speed | yt-dlp --limit-rate [rate] |
12 | Download a video using a proxy | yt-dlp --proxy [proxy URL] |
13 | Download the entire channel’s videos | yt-dlp -cit [channel URL] |
14 | Download videos from a specific date range | yt-dlp --datebefore [YYYYMMDD] --dateafter [YYYYMMDD] |
15 | Download videos with specific file size limit | yt-dlp --filesize [size limit] |
16 | Download videos with a specific duration limit | yt-dlp --duration [duration limit] |
17 | Download a video and embed metadata | yt-dlp --embed-metadata |
18 | Download a video with a specific output filename | yt-dlp --output [filename] |
19 | Download videos from a specific country | yt-dlp --geo-bypass-country [country code] |
20 | Download a video with specific post-processing options | yt-dlp --postprocessor-args [options] |
21 | Simulate the download without actually saving the file | yt-dlp --simulate |
22 | Skip downloading if the file already exists | yt-dlp --skip-download |
23 | Ignore errors or continue downloading if errors occur | yt-dlp --ignore-errors |
24 | Output the progress information during download | yt-dlp --progress |
25 | Show available extractors and information about them | yt-dlp --list-extractors |
26 | Download only the video descriptions | yt-dlp --write-description |
27 | Download videos in a specific format and quality from a playlist | yt-dlp -f [format code]+[quality code] |
28 | Write metadata to a separate JSON file | yt-dlp --write-info-json |
29 | Skip merging video and audio files | yt-dlp --no-merge |
30 | Convert the video to a specific file format | yt-dlp --recode-video [format] |
31 | Add custom metadata to the output file | yt-dlp --add-metadata --metadata-from-title "[metadata]" |
32 | Embed a custom thumbnail into the video | yt-dlp --embed-thumbnail --thumbnail [image file] |
33 | Write subtitles to a separate file in a specific format | yt-dlp --write-subs --convert-subs [format] |
34 | Extract only a specific section using timestamps | yt-dlp --extract-include "[start timestamp]-[end timestamp]" |
35 | Extract audio from videos while ignoring errors | yt-dlp --extract-audio --ignore-errors |
36 | Select a specific audio language for extraction | yt-dlp --audio-language [language code] |
37 | Apply a specific post-processing command | yt-dlp --postprocessor-command "[command]" |
38 | Limit the number of downloads per playlist | yt-dlp --playlist-end [number] |
39 | Exclude specific formats from the available formats | yt-dlp --exclude-formats [format code1],[format code2],... |
40 | Simulate the extraction process without saving files | yt-dlp --simulate-extraction |
41 | Write all available metadata to a separate JSON file | yt-dlp --write-all-info-json |
42 | Extract only a specific section based on time in minutes | yt-dlp --extract-include "[start time]-[end time]m" |
43 | Embed subtitles directly into the video file | yt-dlp --embed-subs |
44 | Skip downloading if the file size exceeds a specified limit | yt-dlp --max-filesize [size limit] |
45 | Specify a custom user-agent for the download request | yt-dlp --user-agent "[user-agent string]" |
46 | Write annotations to a separate file | yt-dlp --write-annotations |
47 | Exclude specific qualities from the available qualities | yt-dlp --exclude-qualities [quality code1],[quality code2] |
48 | Download only the audio of a video in the best available format | yt-dlp -x --audio-format best |
49 | Specify a custom output filename | yt-dlp --output "custom_filename.mp4" |
50 | Restrict the download speed to a specific value | yt-dlp --limit-rate [download speed] |