

Type the following command in a terminal to list all the avialable options. To download a list of video files, create a file and place all the YouTube links that you wish to download. Amy Macdonald - This Is The Life-iRYvuS9OxdA.mp4 has already been downloaded For example, I would like to download mp4 format, So I use format code as ‘18‘ as shown below. To download a preferred file format, use the option ‘-f’ (video format code). vKtwZmhX0lw: Extracting video information vKtwZmhX0lw: Downloading video info webpage Sample Output vKtwZmhX0lw: Downloading webpage

To list all available formats of video, use option “–list-formats” with the youtube-dl command. Destination: Amy Macdonald - This Is The Life-iRYvuS9OxdA.mp4 iRYvuS9OxdA: Downloading js player new-en_US-vflCeB3p5 iRYvuS9OxdA: Extracting video information iRYvuS9OxdA: Downloading video info webpage Sample Output iRYvuS9OxdA: Downloading webpage Where “VIDEO_URL” is the url of the video that you want to download. To download a video file, simply run the following command. #How to Use YouTube-DL to Download Videos Restart youtube-dl to use the new version. Sample Output Updating to version 2015.09.03. Youtube-dl itself can be updated to the latest version using the following command. $ sudo chmod a+rx /usr/local/bin/youtube-dl OR sudo wget -O /usr/local/bin/youtube-dlĪfter downloading the script, set the executable permission. Update: Similarly, instead using any third party PPA, you can use curl or wget command to install latest version of youtube-dl script as shown. $ sudo add-apt-repository ppa:nilarimogard/webupd8 Ubuntu users can download and install latest youtube-dl version from the webupd8 PPA as shown.

#Install YouTube-DL in Ubuntu/Linux Mint and Debian
