Questions tagged [youtube-dl]
youtube-dl is a small command-line program to download videos from youtube.com and and about 150 other websites.
218
questions
498
votes
10
answers
1.1m
views
How to select video quality from youtube-dl?
I have installed youtube-dl in my 14.04.
I can download video by following command,
$ youtube-dl [youtube-link]
But I want to know how to select available pixel quality of youtube video(i.e 1080p, ...
232
votes
3
answers
394k
views
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?
205
votes
7
answers
433k
views
How to download playlist to mp3 format with youtube-dl?
I'm trying to download some videos in mp3 format. It's a playlist. How do I download the whole playlist using one command?
101
votes
5
answers
94k
views
How to download a youtube playlist with numbered prefix via youtube-dl?
I have a Youtube playlist, I want to download it but I want youtube-dl to name the files like 1-{name}, 2-{name}, ... n-{name} in order to be able to watch them in the same sequence as original ...
86
votes
4
answers
272k
views
How to download youtube videos as a best quality audio mp3 using youtube-dl [duplicate]
I want to download YouTube videos as mp3 files in its best quality. The below code helps to download youtube videos as m4a but not us mp3
youtube-dl -f bestaudio --audio-quality 0 --audio-format mp3 ...
71
votes
5
answers
146k
views
using youtube-dl to download entire youtube channel
So I'm trying to download an entire youtube channel using youtube-dl. I know that if you use the -F command, it gives you a list of the quality type of the videos. My question is this: how to download ...
59
votes
3
answers
77k
views
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-...
52
votes
4
answers
134k
views
How to specify a filename while extracting audio using youtube-dl?
I can create an mp3 of a YouTube video with the following command:
youtube-dl --extract-audio --audio-format mp3 http://www.youtube.com/watch?v=rtOvBOTyX00
It creates an mp3 with the following ...
51
votes
5
answers
123k
views
How to download the best video along with the best compatible audio with youtube-dl?
I want to use a format selector that is something like -f bestvideo+best audio whose extension is compatible with the video extension so that they don't need to be muxed into an mkv (WARNING: ...
49
votes
6
answers
78k
views
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 (...
40
votes
11
answers
49k
views
Youtube-dl: Python not found (18.04)
I have done a clean install of 18.04 LTS.
I then installed youtube-dl using
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-...
34
votes
1
answer
34k
views
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.
28
votes
6
answers
229k
views
Where does youtube-dl download the videos to?
I have downloaded youtube-dl and the video download is complete, but when I
search for the video, I can't seem to find it.
Can anyone help?
26
votes
1
answer
51k
views
youtube-dl Troubleshooting: ERROR: This video is unavailable [duplicate]
Ubuntu 16.04: Verify latest youtube-dl version:
$ sudo apt-get install youtube-dl
youtube-dl is already the newest version (2016.02.22-1).
0 upgraded, 0 newly installed, 0 to remove and 137 not ...
23
votes
3
answers
78k
views
Download everything from a YouTube video using youtube-dl
I want to download everything (subtitles, cards, tags, annotations, thumbnails, etc. (and obviously the video w/ audio)) from a YouTube video (for example, this one).
I'm using youtube-dl and, with ...
22
votes
5
answers
50k
views
How to download a portion of a video with youtube-dl OR something else?
I'd like to be able to download a portion of a video only. For example, being able to specify a start and/or end time for downloading. So, when a user inputs a start and end time of a video, it should ...
21
votes
4
answers
25k
views
Avconv warning while downloading YouTube video
I received this warning:
Your copy of avconv is outdated,
update avconv to version 10-0 or newer if you encounter any errors.
while downloading a YouTube video with youtube-dl -f 137+140. I am ...
21
votes
1
answer
32k
views
How can I download part of a playlist from YouTube with 'youtube-dl'?
I have been using
youtube-dl -c -f 'bestvideo[height<=720]+bestaudio/best[height<=720]' https://www.youtube.com/playlist?list=PLgsYTUetbpwNRmhee8yc_4o4MTY_naAmO
to download a playlist from ...
20
votes
4
answers
39k
views
Problems downloading playlist using youtube-dl
I got message that the youtube-dl have to be updated when I try to download a playlist from youtube when I try to update I have this error message:
elshahen@elshahen-LAB:~$ youtube-dl -cit https://...
20
votes
6
answers
66k
views
How to download facebook videos by using 'youtube-dl' in linux?
I am unable to download Facebook video using youtube-dl. The following error occurs during downloading:
$ youtube-dl https://www.facebook.com/video.php?v=10152588878600983&set=vb.107925785982&...
19
votes
1
answer
30k
views
Error while using youtube-dl [duplicate]
I am trying to download a playlist using youtube -dl but getting an error.
Command:
youtube-dl --playlist-start 1 https://www.youtube.com/playlist?list=PL8B24C31197EC371C
Output:
[youtube:...
17
votes
4
answers
56k
views
how to run youtube-dl through proxy server
i want to download youtube video through youtube-dl through proxy server but it shows authentication required
code:
http_proxy="http://username:password@proxy:port/" youtube-dl url
it shows ...
17
votes
5
answers
48k
views
How to delete lines starting with certain strings
Is there a way to delete lines starting with certain strings.
I have this youtube-dl code
youtube-dl --extract-audio --audio-quality 0 --newline --audio-format mp3 https://www.youtube.com/playlist?...
15
votes
4
answers
30k
views
Can I download videos from a YouTube search query using youtube-dl?
I want to download videos from a YouTube search query using youtube-dl. Suppose I want videos from the search query https://www.youtube.com/results?q=how+to+create+android+app+in+android+studio.
How ...
14
votes
1
answer
32k
views
How do I download with youtube-dl to get video title as filename?
How the current file has been downloaded to display the original title?
When i download always like P9pzm5b6Fxx.mp4, when the title is Tigerking.
How do I set it so that it is downloaded as tigerking....
12
votes
8
answers
42k
views
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
12
votes
4
answers
7k
views
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?
12
votes
3
answers
40k
views
No longer able to download YouTube using youtube-dl. How do I fix this problem?
When I run youtube-dl, I get the message below (it's very long). What is the problem and how do I fix this? It tells me to update youtube-dl but I am running it in terminal using the youtube-dl ...
12
votes
4
answers
24k
views
Unable to download videos using youtube-dl ('sig error'), how to correct?
I used to download videos using youtube-dl command line tool, from the past two days whenever i try to download any video I get an error as shown below.
$ youtube-dl https://www.youtube.com/watch?v=...
11
votes
6
answers
28k
views
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 ...
11
votes
3
answers
33k
views
Getting URL of YouTube video with `youtube-dl` is slow, without downloading video
I want to get the URL using youtube-dl, and the "simulate" option -g that does not download the video.
So I gave the following command:
youtube-dl -g https://www.youtube.com/watch?v=k4JGSAmu4lg
...
11
votes
1
answer
22k
views
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: ...
10
votes
8
answers
24k
views
youtube-dl /usr/bin/env: ‘python’: No such file or directory
In Ubuntu 20.04, we get the following error:
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
❯ ...
10
votes
2
answers
9k
views
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 ...
10
votes
1
answer
3k
views
Download YouTube videos from start of batch to end of batch that is part of a playlist
A Youtube video can be watched standalone or it could be a part of a playlist.
Example:
https://www.youtube.com/watch?v=vbsNiOkm0BU and
https://www.youtube.com/watch?v=vbsNiOkm0BU&index=141&...
9
votes
2
answers
16k
views
youtube-dl stopped working
On my 12.04 LTS I can't download from YouTube via youtube-dl. I used to do that, but recently (for a week) I'm not able. I tried on many videos and I get same output:
$ youtube-dl -t http://www....
9
votes
2
answers
11k
views
Is it possible to only download a single frame from a youtube video?
Let me explain what I had set up. I've been using pytube (Python module) to download videos from YouTube. I would then extract a few random frames from the video and save them as jpegs. I don't need ...
9
votes
2
answers
15k
views
Youtube-dl: How to download video with no audio? [duplicate]
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 ...
8
votes
3
answers
21k
views
how do I fix youtube-dl: running it gives error message about incorrect syntax
I recently installed 22.04 completely from scratch. Just now I followed instructions to install youtube-dl, with wget (from github.com):
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/...
8
votes
5
answers
5k
views
Running a directory full of .sh files with one command
I've got a directory with lots of .sh files in it, all of which, when run, open a terminal and begin a youtube-dl download. Since there are so many, I was hoping to find a way to activate them all at ...
8
votes
1
answer
9k
views
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 "$...
7
votes
1
answer
2k
views
After installing youtube-dl on Ubuntu 21.10 with the instructions on github many applications, including default text editor, broke
A new user here, running ubuntu on version 21.10 impish.
I was installing youtube-dl with the instructions on the github page (https://github.com/ytdl-org/youtube-dl#installation):
$ sudo curl -L ...
7
votes
1
answer
9k
views
How to download newly uploaded videos from a youtube channel?
I want to set up a script that uses wget to download a video from a channel on youtube, they upload everyday so I want wget to download the newly uploaded video without me having to go on youtube to ...
7
votes
2
answers
423
views
Command has no manual?
I recently installed youtube-dl.
I first used apt-get to install it. However, the version was outdated and there were problems. I was able to look through the documentation using man youtube-dl.
In ...
7
votes
2
answers
10k
views
youtube-dl keep both auto-generated subtitles and prewritten ones
When I download a video with youtube-dl and the --all-subs, --write-sub, --write-auto-sub options, I get a mixture of prewritten subtitles and autogenerated ones.
For example, this video: https://www....
6
votes
5
answers
15k
views
Convert downloaded YouTube videos (downloaded with youtube-dl) to audio-only, with no loss? [duplicate]
If one downloads videos from YouTube using youtube-dl, they get .mp4 files which are a ISO Media, MPEG v4 system, version 2.
Can these files be converted to audio-only, ideally with no quality loss?
...
6
votes
3
answers
8k
views
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 ...
6
votes
1
answer
8k
views
youtube-dl file download progress with zenity progress bar
How to add youtube-dl file download progress percentage to zenity progress bar
sample code (just an example, not a working one)
#!/bin/sh
(
progress=$(youtube-dl --extract-audio --audio-quality 0 ...
6
votes
2
answers
7k
views
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 ...
5
votes
2
answers
3k
views
What is the true install procedure for youtube-dl in 20.04?
I am having no luck getting youtube-dl installed on my 20.04 system. Here's what I have tried:
sudo apt-get install youtube-dl
RESULT: The command executes OK, but when I try to download anything I ...