A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

March 2, 2011

Download youtube videos through the terminal

Forums: 

I tried the following command in the ubuntu for downloading the youtube videos:

youtube-dl "URL"

or if we want to specify the file extension :

youtube-dl -o filename.flv "URL"

This being the most recommended command, doesn't work. It says format is not supported.
Moreover I again tried the command :

wget -c "URL"

But this command also doesn't work . Can anyone help me with this problem???

Click Here!