In this post I am going to show you how you can download youtube videos easily through Terminal.App
First of all you need to set up HomeBrew, follow the steps mentioned here: Setting up HomeBrew on Mac OS X
Then install youtube-dl package by running the following command in your Terminal.App
brew install youtube-dl
If not Brew, then you can even install it using MacPorts. To setup MacPorts, follow the steps mentioned here: [How To]: Installing MacPorts on Mac OS X and run the following command:
sudo port install youtube-dl
Note: The above mentioned Package managers will install the dependencies that is required for smooth functioning of youtube-dl and opening/converting downloaded videos. Hence, I recommend using a package manager like MacPorts or Brew as they will take care of installing supporting packages and upgrading the packages will be easier in future too.
Now you can download youtube videos by running the following command in your Terminal.App :
youtube-dl 'link to youtube video'
P.S: I used to download videos using youtube downloaders and in-browser extensions like video download helper, but recently I was unable to download some videos (Official vevo music videos in particular)
So I decided to give youtube-dl a try, and Voila it worked perfectly well and downloaded the videos in HD by default.
youtube-dl uses python script to download the videos and videos downloads with maximum bandwidth. 🙂
Further details can be found at youtube-dl on Github
Let the Windows be open, and feel the Freedom.