As everybody knows on youtube you can find any kind of video. Many video are amazing, others are interesting. But if the video owner decides to erase the video you will not find it anymore on the specified location and you will not be able anymore to retrieve it. So how to do to file an important video? The best solution is to download the video, store it and then play it for example with videolan. It’s possible to easily download and store a video with Linux, some simple steps (here below we suppose to be on debian or ubuntu):

first of all download the necessary software

$ sudo apt-get update

$ sudo apt-get install youtube-dl

then wait for all install process to be completed.

Now you are ready to go. Here an example on how to download a specified video:

$ youtube-dl -f ‘bestvideo,bestaudio’ -o ‘%(title)s.f%(format_id)s.%(ext)s’

The last on commandline is the url of the video on youtube. simple, isnt’ it? If you want to store on a secure location then, you can simply activate a VPS server and install there the software and store there all your interesting video