What libraries/softwares will we need to download/configure?īefore we can build our YouTube video and audio downloader, we have to download and configure our libraries.
You can find the source code here Prerequisities Some popular ones include….Have you ever wanted to download the audio from a YouTube video? In this tutorial, I'm going to show you how to build your own free YouTube video downloader app. What sites can youtube-dl download videos from?Īlthough the name implies that youtube-dl only works for downloading videos from youtube, I was shocked to discover it supports over 1,000 other websites. Here are the video file’s properties and the downloaded video Merging formats into "Wind turbine spinning in HD 1080p - short clip-RpOlTN2xdwg.mp4"ĭeleting original file Wind turbine spinning in HD 1080p - short 4 (pass -k to keep)ĭeleting original file Wind turbine spinning in HD 1080p - short 4a (pass -k to keep) Destination: Wind turbine spinning in HD 1080p - short 4a
Destination: Wind turbine spinning in HD 1080p - short 4 RpOlTN2xdwg: Extracting video information RpOlTN2xdwg: Downloading video info webpage Lets give it a try by downloading a youtube video from the command line. This method assumes you already have python and pip installed # python 2.7ĭownload a YouTube video using youtube-dl Steps to Install youtube-dl using python/pip Sudo yum install youtube-dl Steps to Install youtube-dl on Mac OSX # OS X users can install youtube-dl with Homebrew: # yum based distros Redhat, Centos, Fedora Youtube-dl can be installed on most Linux distributions using the built-in package manager (apt, yum, etc). Steps to Install youtube-dl on Ubuntu Linux