Possible Duplicate:
Download YouTube via command line

How to download a Youtube video from command line? Mac OS X and/or Ubuntu Linux. Optionally, i'd like to save it in .avi or .mkv format.


youtube-dl works on OS X, Linux and Windows, and can download videos in any format YouTube provides. You can use other tools like mencoder to change the codec or container format afterwards.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.