YT-DLP – Commands

Uncategorized

comment No Comments

By lordlucan101

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

Leave a comment