Downloading videos from YouTube

How to download a movie from Youtube?

The youtube-dl program is a small command-line program for downloading a video from YouTube.com and several other places, requires a Python interpreter (2.6, 2.7, or 3.3 +) and is platform independent. It should run in Unix box on Windows or Mac OS X, you can modify, distribute or use it as you like

To install it right away for all UNIX users (Linux, OS X, etc.), type:

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

If you do not have curl, you can alternatively use a recent wget:

sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

You can also use pip:

sudo pip install --upgrade youtube_dl

This command will update youtube-dl if you have already installed it. See the pypi page for more information.

You can use Homebrew if you have it:

brew install youtube-dl

To check the signature, type:

 sudo wget https://yt-dl.org/downloads/latest/youtube-dl.sig -O youtube-dl.sig
gpg --verify youtube-dl.sig /usr/local/bin/youtube-dl
rm youtube-dl.sig

 

5/5 - (2 votes)

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top