There is any good program to download YouTube videos? I am using Ubuntu 14.04 32-bit.
There is any good program to download YouTube videos? I am using Ubuntu 14.04 32-bit.
To install youtube-dl
:
Recommended way (latest version):
Install youtube-dl
with this command (you'll be prompted for your password):
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl && sudo chmod a+x /usr/local/bin/youtube-dl
Not recommended way (older version):
Install youtube-dl
with this command (you'll be prompted for your password):
sudo apt-get install youtube-dl
To use youtube-dl
:
cd
on the terminal.To download the video you can use one of these procedures:
2.1. Run youtube-dl video_url
where video_url
is the URL of the video.
2.2. If you want to download many videos, you can follow these steps instead of 2.1:
Run the below command:
xargs youtube-dl
2.3. If do you have a plain text file with a list of links, you can download them this way:
cat
on the terminal.| xargs youtube-dl
Now the video(s) will download to the selected folder.
Some final thoughts:
On the method 2.3 the final command should look like this:
cat '/home/foo/Desktop/myawesomevideos.txt' | xargs youtube-dl
youtube-dl
will save the entire channel.youtube-dl
with sudo youtube-dl -U
youtube-dl
with youtube-dl --help
Thanks to user185719 and Michael Grünewald for their contributions to this answer.