Welcome to Home.

Wednesday, October 3, 2018

Youtube-dl and it's use

youtube-dl is a command-line program to download videos from YouTube.com and a few more sites (200+ sites). It requires the Python interpreter(2.6, 2.7, or 3.2+), and it is not platforming specific. We also provide a Windows executable that includes Python. youtube-dl should work in your Unix box, in Windows or in Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.



How to Download:

youtube-dl is easy to install in your system. Installation process varies in a variation of system. If you are using windows then you just need to download the setup file from its official GitHub site ( http://rg3.github.io/youtube-dl/download.html) and if you are Linux users it is simple just hit 1 line command and you are done.

For Windows Users:

Get the setup file from Here and install

For Linux Users:

sudo apt-get install youtube-dl

It is just simple for installation.


Uses:

1. To Download Videos in desired formats
2. To Download/Extract Audio in desired formats from video
3. To Download Entire Playlists of videos from youtube and other sites.
4. and more.

For Linux Users

Downloading Videos  :


You just need 1 line of command to download the video from the desired site. The syntax for downloading videos is as follows:

                                                        youtube-dl VIDEO_URL

that's it. youtube-dl and the link of the video which you want to download. By default, it would download in mp4 format.

The following video illustrates the use of command :




Downloading Audios from Videos:

In order to extract/download audios from videos you just need two extra sub commands and they are extract-audio and audio-format. The following is the command that downloads the audio from video link in given audio format.

youtube-dl --extract-audio --audio-format AUDIO_FORMAT VIDEO_LINK

               eg : youtube-dl --extract-audio --audio-format mp3 www.google.com/sdfsdfhsdkj

The following video illustrates the way fro downloading audios from videos.




In this way you can do. If you want to know more and learn more, please provide me your feedback it means a lot for me.

No comments:

Post a Comment