You are on page 1of 4

Download Youtube Videos on Shell

Install YouTube-DL – A Command Line Video Download Tool for Linux By Ravi Saive Under: Linux Commands, Open Source On: July 11, 2013 youtube-dl is a Python based small command-line tool that allows to download videos fromYouTube.com, Dailymotion, Google Video, Photobucket, Facebook, Yahoo, Metacafe,Depositfiles and few more similar sites. It written in pygtk and requires Python interpreter to run this program, it’s not platform restricted. It should run on any Unix, Windows or in Mac OS X based systems. Recently, youtube-dl added video download support for 17 new websites: brightcove.com,auengine.com, RingTV, instagram.com, Jukebox, 3sat, CSpan, Stati gr.am,traileraddict.com, hotnewhiphop.com, wat.tv, tu.tv, gamespot.com, tudou.com,Wimp.com, archive.org and break.com youtube-dl also allows to choose specific avialable video quality format to download or let the program itself automatically download higher quality video from the site. It also has supports for user specific playlist downloads, options to add custom or original title to the downloaded video file. proxy support and many more.

Youtube-dl Command Line Video Downloader Install YouTube-DL in RHEL/CentOS and Fedora

# youtube-dl -U How to Use YouTube-DL to Download Videos To download a video file. you can install using ‘yum‘ package manager tool as shown.youtube. # yum install youtube-dl Install YouTube-DL in Ubuntu/Linux Mint and Debian Ubuntu users can download and install latest youtube-dl version from the webupd8 PPA as shown. # youtube-dl –all-formats http://www. Once enabled. simply run the following command.com/watch?v=vKtwZmhX0lw [youtube] Setting language [youtube] VMkkaQZAK3c: Downloading video webpage [youtube] VMkkaQZAK3c: Downloading video info webpage [youtube] VMkkaQZAK3c: Extracting video information [download] Destination: Natural Skin Whitening Methods-VMkkaQZAK3c.88MiB at 968. $ sudo add-apt-repository ppa:nilarimogard/webupd8 $ sudo apt-get update $ sudo apt-get install youtube-dl Update YouTube-DL Youtube-dl itself can be updated to the latest version using the following command.72KiB/s ETA 03:16 To download a video in availabe file formats.The youtube-dl program can be installed by enabling epel repository under your systems. use option “–all-formats” with the command. Where “VIDEO_URL” is the url of the video that you want to download.com/watch?v=vKtwZmhX0lw [youtube] Setting language [youtube] VMkkaQZAK3c: Downloading video webpage [youtube] VMkkaQZAK3c: Downloading video info webpage .youtube.3% of 218. # youtube-dl http://www.mp4 [download] 15.

81KiB/s ETA 00:30 To download a list of video files. So I use format code as ‘34‘ as shown below. # man youtube-dl .flv [download] 16. # youtube-dl -f 34 http://www. use the option ‘-f’ (video format code).57MiB at 916. I would like to download flv format.txt Type the following command in a terminal to list all the avialable options.com/watch?v=vKtwZmhX0lw [youtube] Setting language [youtube] VMkkaQZAK3c: Downloading video webpage [youtube] VMkkaQZAK3c: Downloading video info webpage [youtube] VMkkaQZAK3c: Extracting video information [download] Destination: Natural Skin Whitening Methods-VMkkaQZAK3c. create a file and place all the YouTube links that you wish to download.youtube.[youtube] VMkkaQZAK3c: Extracting video information Available formats: 37 46 22 45 35 44 34 18 43 5 17 : : : : : : : : : : : mp4 webm mp4 webm flv webm flv mp4 webm flv mp4 [1080x1920] [1080x1920] [720x1280] [720x1280] [480x854] [480x854] [360x640] [360x640] [360x640] [240x400] [144x176] To download a preferred file format. # youtube-dl -a youtube_links.9% of 32. For example.

youtube-dl can be downloaded from the youtube-dl download page. .For other distributions.