A free command-line downloader primarily for YouTube videos, available on many platforms.
Questions tagged [youtube-dl]
154 questions
242
votes
4 answers
How to download only subtitles of videos using youtube-dl
How can I download subtitles of a list of videos using youtube-dl? I need an option for this. However I could not find an option to download only subtitles
fivetech
- 2,583
16
votes
1 answer
How to manually select video and audio format while using youtube-dl?
If I like to choose -f 248 for video and -f 171 for audio, how should I do it? I remember there is a single line command that can merge manually selected audio and video after downloading.
Aero Windwalker
- 766
14
votes
6 answers
Download an entire YouTube channel with youtube-dl and automatically resume if interrupted
I'm downloading an entire YouTube channel consisting of about 10,000 videos. Sometimes the download stops due to errors like "content too short" or "connection interrupted". However, is there a way to automatically restart the download? There is…
INeedHelp101
13
votes
1 answer
youtube-dl optimal video resolution within a max limit
Typically youtube-dl aims to shoot for the highest quality possible. That's not always practical. Flip side I've seen was for minimum quality possible. That's not practical either. What would be a command to make youtube-dl find the highest quality…
Nikhil VJ
- 351
9
votes
2 answers
youtube-dl not downloading any "age restricted" video
Youtube has started "age restricting" many videos, and I can't download them with youtube-dl
for example
youtube-dl https://www.youtube.com/watch?v=xeZ3k2ywQ6Y
so
user@droplet~/user# youtube-dl https://www.youtube.com/watch?v=xeZ3k2ywQ6Y
[youtube]…
barlop
- 23,849
7
votes
2 answers
Get youtube-dl video for a particular size, like 480p or 720p
This answer is very involved:
youtube-dl -f 'bestvideo[height<=480]+bestaudio/best[height<=480]'
Surely I don't have to memorize all this just to get a 480p video in one stroke?
I usually use -F to get a list of streams, and then -f to select both…
felwithe
- 834
7
votes
1 answer
How to add track numbers to the filename with youtube-dl?
I want to name downloaded audio files in playlists and albums by the track order. Only the track_number output path command seems to be directly related and results in every file being prefixed with NA string.
Affects both Soundcloud and Bandcamp…
user198350
- 4,019
4
votes
2 answers
How to change the date modified of youtube-dl files to date downloaded?
If I download this clip with youtube-dl, the last modified date is 15 November 2018 03:55, while YouTube shows a posted date of 23 April 2013. This page mentions that one cannot replace a video:
You can’t replace a video since any new video uploads…
miguelmorin
- 2,047
4
votes
1 answer
How to embed subtitle to youtube videos using youtube-dl
How do i embed subtitle to youtube videos using youtube-dl?Usingyoutube-dl --embed-sub --write-auto-sub produce an error displaying Invalid data found when processing input
input=youtube-dl -v --write-auto-sub --embed-subs…
sakib
- 41
3
votes
2 answers
What to do now that "youtube-dl.exe -U" yields "ERROR: can't find the current version. Please try again later."?
I used to be able to run the command:
youtube-dl.exe -U
To update youtube-dl. But now, it says:
ERROR: can't find the current version. Please try again later.
As always when an error message of any kind, anywhere, tells you to "try again later",…
Kasan
- 31
- 1
- 2
3
votes
1 answer
How to merge downloaded video in youtube-dl?
Some streaming websites split the video into multiple parts and youtube-dl downloads all files to its directory. Is it possible to issue youtube-dl to merge the files together (into MKV)?
--merge-output-format mkv has no impact in this…
user198350
- 4,019
3
votes
0 answers
youtube-dl CommandNotFoundException
As I'm trying to get some high quality audio files of some ambient background in order to use in my music, the first I read was to use youtube-dl to download and ffmpeg to convert to a format FL Studio can actually import (damn you, aac and…
2
votes
1 answer
What is the best quality audio and video from this Youtube video?
I would like to download a youtube video with the best video quality and audio quality.
Based on this answer, I would like to pick the best video and best audio, then merge them together.
However, I'm unsure which one will be the best choice.
The -F…
Maru
- 121
2
votes
1 answer
How to remove unwanted content from downloaded subtitles?
Auto-generated YouTube subtitles contain timestamps for every word and other content that hampers readability:
00:00:30.230 --> 00:00:33.900 align:start position:19%
you<00:00:31.230> think <00:00:31.470>…
user198350
- 4,019
2
votes
1 answer
Download all my youtube playlists to separate folders using youtube-dl
I am trying to use youtube-dl to download all my public playlists from youtube in Windows 7 using the following taken from the documentation:
youtube-dl -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s"
but it only downloads my uploads.
I…
Michael
- 43