A photo of Mitesh Shah

Mitesh Shah

Linux Expert | Automation Enthusiast | Security Consultant

Email Skype Github Twitter Resume Hire Me Keybase LinkedIn Stackoverflow


Overview

  • youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites.

Requirement

  • Python 2.6, 2.7 or 3.2+

Install

On Linux Platform

Install youtube-dl by using curl command
[mitesh@Matrix ~]$ sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl
[mitesh@Matrix ~]$ sudo chmod a+rx /usr/local/bin/youtube-dl
Install youtube-dl by using wget command
[mitesh@Matrix ~]$ sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
[mitesh@Matrix ~]$ sudo chmod a+rx /usr/local/bin/youtube-dl
Install youtube-dl by using pip command
[mitesh@Matrix ~]$ sudo pip install youtube_dl

On Mac Platform

Install youtube-dl by using brew command

NOTE!: Make sure you have installed HomeBrew on your system, If you don’t have HomeBrew installed then Click Here to Install HomeBrew

[mitesh@Matrix ~]$ brew install youtube-dl

On Windows Platform

  • Download yotube-dl.exe
  • Place youtube-dl.exe in home directory or any other location on PATH.

Refer: https://github.com/rg3/youtube-dl for more information





Post Navigation