I found a script a python script some days back. and now, I am sharing this with you.
we can download any youtube video with this script. it can be useful for many YouTubers and video editors who use Linux instead of windows.
Although, you can use this in windows and even in Mac after installing python. but in this tutorial, I will use this in Kali Linux.
so download this script from here: MEDIAFIRE_LINK
now give it executable permission :
chmod +x youtube-dl
now we will move it into /bin to call it from the terminal from any dir:
mv youtube-dl /bin/youtube-dl
now type youtube-dl
in the terminal and see if it is working.
if it is working, well done.
now we will use this to download a video from youtube. for example, I can pick one of our videos.
LINK – https://www.youtube.com/watch?v=5_7M9-XAfzQ
now we can just download it in a random resolution:
youtube-dl https://www.youtube.com/watch?v=5_7M9-XAfzQ
we can show the video formats with this command:
youtube-dl -F https://www.youtube.com/watch?v=5_7M9-XAfzQ
now choose the format code and use this command to download it:
youtube-dl -f <FORMAT-CODE> https://www.youtube.com/watch?v=5_7M9-XAfzQ
you can also choose audio formats, see the help menu for more options. it is a very powerful script.
In my next post, I will tell you to download the audio of a youtube video.
Thanks For Visiting.