Questions tagged [youtube-dl]

youtube-dl is a small command-line program to download videos from youtube.com and and about 150 other websites.

youtube-dl is a command-line program to download videos from youtube.com and and about 150 other websites. youtube-dl can be installed with sudo apt install youtube-dl . The latest version of youtube-dl can be installed in Ubuntu with sudo snap install youtube-dl and launched with snap run youtube-dl.

youtube-dl runs from the command-line only. Some useful commands are:

  • youtube-dl --help : Print help text.
  • youtube-dl --update : Update youtube-dl to the latest YouTube update.
  • youtube-dl -F URL : List all available formats of requested videos.

Options can be given to youtube-dl from the command-line or by placing them in a configuration file at either /etc/youtube-dl.conf or at ~/.config/youtube-dl.conf.

See also:

218 questions
230
votes
3 answers

Can I directly download audio using youtube-dl?

Can I directly download audio from a YouTube video instead of first downloading audio+video and then extracting the audio?
DK Bose
  • 42,548
  • 23
  • 127
  • 221
59
votes
3 answers

Downloading youtube playlist with youtube-dl, skipping existing files

I was wondering if it was possible to download a youtube playlist as mp3 using youtube-dl, skipping already existing files. I am using this command: youtube-dl --continue --ignore-errors --no-overwrites --extract-audio --audio-format mp3 --output…
Warrior
  • 693
49
votes
6 answers

youtube-dl failed to extract signature

It is considered very useful to utilize youtube-dl software for downloading youtubes. A message is seen and it stopped working, which is following. ERROR: Signature extraction failed: Traceback (most recent call last): File…
Ohmygirl
  • 1,165
34
votes
1 answer

Requested formats are incompatible for merge

I have the following error message with youtube-dl: WARNING: Requested formats are incompatible for merge and will be merged into mkv.
12
votes
8 answers

Youtube-dl not working

I get the following error when I try to download video using youtube-dl. WARNING: Warning: Falling back to static signature algorithm ERROR: unable to download video data: HTTP Error 403: Forbidden
acabhishek942
  • 251
  • 1
  • 2
  • 7
12
votes
4 answers

Is there a way to put comments in the youtube-dl batch file?

Let's suppose you want to make a long list of Urls but separated with a comment which indicates what the Urls are about. Is there a way to do it?
user240029
  • 123
  • 1
  • 5
11
votes
1 answer

How to fix youtube-dl error : unable to open for writing: [Errno 21] Is a directory?

I am trying to use youtube-dl to download a video from youtube to a directory and this error pops up: $ youtube-dl -o ~/Videos http://www.youtube.com/watch?v=P0YiWsAM0O8 [youtube] P0YiWsAM0O8: Downloading webpage [youtube] P0YiWsAM0O8: Downloading…
sami
  • 163
10
votes
2 answers

How to download playalist except certain videos in youtube-dl?

I want to download a play list from youtube, where the first 6 videos in the playlist have been deleted by their channel. When I tried to download it using youtube-dl, it's getting interupted because the first video was not found. Then it is…
CDR
  • 223
10
votes
6 answers

youtube-dl do not working.HTTP error 429: too many requests How can i solve this problem? youtube-dl is up-to date

[youtube] lMttqRuFmL8: Downloading webpage ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl…
8
votes
1 answer

Use youtube-dl to download all the playlists of a channel

I want to download all the playlists of a youtube channel using youtube-dl. The following command downloads all the videos even with --yes-playlist option: youtube-dl --yes-playlist -f best -ciw -o…
8
votes
2 answers

Youtube-dl: How to download video with no audio?

How can I download a video without it's audio track, ideally with the ability to choose what level of quality the video will be downloaded in. Edit: I realize that selecting the quality may be the same as in other questions, but my main question is…
6
votes
3 answers

An error with youtube-dl

When I run youtube-dl and extract the audio it gives me the error: ERROR: audio conversion failed: Unknown encoder 'libmp3lame' Could this be because I have ffmpeg and lame installed? Do the two conflict with eachother somehow?
Awalrod
  • 183
  • 2
  • 8
6
votes
2 answers

About youtube-dl and yt-dlp

It seems that youtube-dl is dead in the water since June 6, 2021 and it has reached a point where it cannot handle YouTube's downloading speed throttling at all. Does anyone know what has happened or will happen with it? What about yt-dlp? Is it…
Stormlord
  • 6,317
5
votes
1 answer

What is the recommended way of installing youtube-dl?

I installed youtube-dl from the 17.04 package repositories. It currently ships version 2017.03.10. However, youtube-dl is one of these packages that are updated very frequently (as of writing this post it is version 2017.04.11) and quite often you…
orschiro
  • 13,317
  • 17
  • 87
  • 161
5
votes
1 answer

How to download a playlist without the videos

Ubuntu 18.04. What I would like to do using youtube-dl is get a list of the video names and the date they were uploaded (the extension doesn't matter) without downloading the videos. Is there a command to do this?
1
2 3 4