This guide describes how to download youtube and metacafe videos via command line in linux
Step 1
Install youtube-dl and metacafe-dl
for ubuntu users:
sudo apt-get install youtube-dl
sudo apt-get install metacafe-dl
Users of other distros can download them directly here and here
Step 2
Choose your video and type the following command followed by the url of the video.Say to download this video http://in.youtube.com/watch?v=LnA0gffqpXE type the command
youtube-dl http://in.youtube.com/watch?v=LnA0gffqpXE
For metacafe the same process applies
Say you want this video http://www.metacafe.com/watch/yt-G3OFr6jJ2Ks/bryan_adams_please_forgive_me_studio_mtv/ type the command
metacafe-dl http://www.metacafe.com/watch/yt-G3OFr6jJ2Ks/bryan_adams_please_forgive_me_studio_mtv/
To cancel donwloading press Ctrl+C anytime
Step 3
Done! and the video is downloaded to your present working directory .
Also you can type the commands with -o option to rename them as they are being downloaded
Say
youtube-dl -o whatever.flv "http://in.youtube.com/watch?v=LnA0gffqpXE"
for more info try metacafe-dl -h and same for youtube-dl