Youtube-dl latest version released

0
186

Youtube-dl

Youtube-dl is a command -line program to download videos from YouTube.com and a few more sites. It is written in the Python programming language, which means that it’s a cross-platform software, supported on Linux, Microsoft Windows and Mac OS X operating systems. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.

It’s not only support you tube and also many video streaming sites like Daily motion, Vimeo, Tumblr, AppleTrailers, NBC, Udemy, Twitter, Facebook, MSN, MTV etc. It supports over 270 video hosting websites in the internet. You can find the detailed list of supportable websites here.

It Not only download videos, we can also download entire playlists in all available formats and also download sub titles. Vimeo passwords and authentication options are also included. several developers created graphical applications that use this CLI tool as a back end.

Installation of youtube-dl

we can install youtube-dl in linux machines by using the following command.

[root@localhost ~]# wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
[root@localhost ~]# chmod a+rx /usr/local/bin/youtube-dl

We can download the videos by using youtube-dl as follows

[root@localhost ~]#youtube-dl [OPTIONS] URL [URL...]

There are many options to work with youtube-dl command

[root@localhost ~]# youtube-dl --version
2016.07.07

We can update Youtube-dl to the latest version by using the argument –update as follows

[root@localhost ~]# youtube-dl --update
youtube-dl is up-to-date (2016.07.07)
[root@localhost ~]#

Download a video from you tube as follows

[root@localhost ~]# youtube-dl https://www.youtube.com/watch?v=Ke6dBOXHdxA
[youtube] Ke6dBOXHdxA: Downloading webpage
[youtube] Ke6dBOXHdxA: Downloading video info webpage
[youtube] Ke6dBOXHdxA: Extracting video information
[youtube] Ke6dBOXHdxA: Downloading MPD manifest
[youtube] Ke6dBOXHdxA: Downloading MPD manifest
[download] Destination: packet tracer installation-Ke6dBOXHdxA.mp4
[download] 100% of 6.99MiB in 00:06
[root@localhost ~]#

we can also download the videos in particular format by using the -f argument along with youtube-dl as follows

[root@localhost ~]# youtube-dl -F https://www.youtube.com/watch?v=Ke6dBOXHdxA
[youtube] Ke6dBOXHdxA: Downloading webpage
[youtube] Ke6dBOXHdxA: Downloading video info webpage
[youtube] Ke6dBOXHdxA: Extracting video information
[youtube] Ke6dBOXHdxA: Downloading MPD manifest
[youtube] Ke6dBOXHdxA: Downloading MPD manifest
[info] Available formats for Ke6dBOXHdxA:
format code  extension  resolution note
140          m4a        audio only DASH audio  128k , m4a_dash container, mp4a.40.2@128k (44100Hz)
160          mp4        256x144    DASH video  108k , avc1.4d400b, 17fps, video only
134          mp4        640x360    DASH video  147k , avc1.4d4016, 17fps, video only
133          mp4        426x240    DASH video  242k , avc1.4d400c, 17fps, video only
136          mp4        1366x768   DASH video  604k , avc1.4d401f, 17fps, video only
135          mp4        854x480    DASH video 1155k , avc1.4d4014, 17fps, video only
17           3gp        176x144    small , mp4v.20.3,  mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3,  mp4a.40.2
43           webm       640x360    medium , vp8.0,  vorbis@128k
18           mp4        640x360    medium , avc1.42001E,  mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F,  mp4a.40.2@192k (best)
[root@localhost ~]#

The best quality is 22 so use -f 22 instead of -F to download the MP4 video with 1280×720 resolution as follows:

[root@localhost ~]# youtube-dl -f 22 https://www.youtube.com/watch?v=Ke6dBOXHdxA

Now Download the Youtube videos in your Linux System by using youtube-dl package.