How to Download Youtube Video on Linux
First you have to install youtube-dl with this command
sudo apt-get install youtube-dl
and give in your password
----------------------------------------------------------------------------------------------------------------------------------------------------
To download a video
1- Go to youtube and search the video you want to download
2- Copy the Video URL from the browser's navigation(address) bar (As shown in the image)
3- Open up terminal and type in
youtube-dl -F {video URL}
~ Don't forget to replace '{video URL}' with the URL you copied from the browser's navigation(address) bar; as shown in the image below:
4- If you choose to download video in format of your choice. you have one last step to follow: that is choosing the format of your choice.
When you type in the command for downloading video with format or your choice it'll give you list of different options, showing the formats and resolutions of that video.
choose the code of one you like and type in following:
youtube-dl -f {format code} {video URL}
~ Don't forget to replace '{formate code}' with code of your choice and '{video URL}' with the URL you copied from the browser's navigation(address) bar; as shown in the image below:
0 comments: