Step 1 :
First you have to install youtube-dl using terminal. Open terminal and type
sudo apt-get install youtube-dl
Step 2 :
Now to download a video.
(a) go to youtube and open the video you want to download. Copy the video URL from the browsers address bar.
(b) Open terminal and type
youtube-dl (video URL)
Make sure you paste the video URL of the video you want to download instead of (video URL)
Note: This will download the video in the highest quality available which you wouldn't want because it might be too large in size for you
(c) To download video in the format or resolution of your choice, we have to first choose the format and resolution of video. Type in the following instead of Step 2 (b) above.
youtube-dl -F (video URL)
This will show you all the available video formats along with thier resolution and format codes. Choose your desired format and see its format code.
Press enter.
(d) Now to download the video in the format of your choice type the following in terminal
youtube-dl -f (formatcode) (video URL)
Make sure you paste the format code you chose instead of (formatcode) and the video URL instead of (video URL).
Stay High on Linux. Peace!!!
Comments
Post a Comment