What are instructions on how to download videos from YouTube?
Notice: Terms of Service Violation
Please be aware that by following any of the answers below, you will be violating YouTube's Terms of Service (TOS). In particular, from Section 5.B.:
Content is provided to you AS IS. You may access Content for your information and personal use solely as intended through the provided functionality of the Service and as permitted under these Terms of Service. You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content. You shall not copy, reproduce, distribute, transmit, broadcast, display, sell, license, or otherwise exploit any Content for any other purposes without the prior written consent of YouTube or the respective licensors of the Content. YouTube and its licensors reserve all rights not expressly granted in and to the Service and the Content.
youtube-dl
Installation from official site:
It's also on Ubuntu repos but you will often need to keep it up-to-date with
sudo youtube-dl -U
Installation and ugrade from
pip
(/):Usage:
So it will download the video.
You can also take a look at this for very in-depth documentation on how to use it.
youtube-dl is a great tool for downloading YouTube videos. Install with:
Or with
pip
(python3-pip):Or from Ubuntu's repo (older version)
then use it this way:
For learning more about advance options, run
Or check out the documentation.
Original answer
For Firefox users:
You can install the Video DownloadHelper addon in Firefox and download any embedded object, including YouTube videos.
Minitube
It does not require Flash Player. From this application you can watch and download videos.
Browser addon:
http://www.clipconverter.cc/addon/
Other sites that can be used:
http://www.clipconverter.cc/
http://keepvid.com/
http://www.listentoyoutube.com/
And this software is also great:
http://www.4kdownload.com/
I think that the simplest way to download a video from YouTube, without installing any plugin or software, is with savefrom.net. And here is the video demonstrating How to download YouTube videos using the ss trick. Let's say you want to download the below video:
On your address bar, add
ss
in front ofyoutube.com
and hit Enter ↵.Now you will be redirected to savefrom.net. On your right, click on the video quality you want to download.
First, if you don't have wget, install it:
Use this Perl script:
Copy this script to a .txt file and rename it
youtube_wget.pl
.Make it executable, using the following command:
When you want to download in the terminal, type:
Change the YouTube URL to your YouTube video URL.
Save Location: The video will be saved in your current directory.
Source: YouTube Downloader Wget Perl Script
cclive
Install cclive
We are able to download free content from YouTube or other streaming sites with this easy-to-use command-line tool.
To download a video from a given location (on YouTube press the "Share" button to get the URL to a video). Copy this link and issue clive from a terminal with e.g. the following command:
There are plenty of other options to control download behaviour including options to choose the download format that are all nicely documented in the manpage. We can also queue a list of URLs from a file.
(Changed -f to -s; -f is deprecated).
Available for Ubuntu 18.10 and older only.
For Firefox users:
As my answer to that question is probably more valid here, I'll present it here for convenience.
You can use
flashgot
, which is an addon for Firefox that I have found extremely useful for downloading videos from YouTube and other sites. (You still require the flash-plugin in your browser, however, for the video to be detected byflashgot
.)Install
flashgot
from the official Mozilla addons site and restart Firefox. Make sure that the addon is enabled; check by going to menu Tools → Addons → Extensions. From theflashgot
entry in the extensions tab you can also set a number of preferences.Navigate to your YouTube video and set the quality in the YouTube video settings and start the video playing for a few seconds and then pause it.
Right click in the YouTube page and select
flashgot media
; there probably will be more than one video; either simply download them both or choose the larger file size (which will be the higher quality video). You can either use your browser's download manager or another program set via theflashgot options
.I want to suggest a method for downloading YouTube videos using VLC media player in simple four steps:
Ctrl + N
or Media > Open Network Stream...)Ctrl + I
or Right click on the video area > Tools > Media information )4kdownloader! Other than downloading videos from URLs, it can also download entire playlists, and also convert them to MP3 or other formats if required.
http://www.4kdownload.com/
I am using it for long time, it's simple and easy to use, and it has a GUI interface for Ubuntu.