Download YouTube Videos Via Command Line (on ANY OS)
This post was published 3 years 2 months 19 days ago which may make its actuality or expire date not be valid anymore. This site is not responsible for any misunderstanding.Geek Alert! If you have no idea what a command line is skip this post. Ok, now that just us techies are here, if you want to skip the EASY way of downloading YouTube videos, you might be interested in youtube-dl.

It’s an open source script written in Python (so it may require some cross compiling if you system is not capable of executing Python scripts), which will allow it to run an ANY OS including Windows, Linux, and Mac OS X. The script feature many cool little tricks that will rename the download clip to the same name of the title of the YouTube video
Now I won’t go into all the details, but there really is no install directions for this script, but there are a few commands needed to get it working. Download the script, and name the file “youtube” without the quotes.
chmod 744 youtube (Make the file executable)
mv youtube /usr/bin (Optional, makes it so you don’t have to type the direct path to the file each time)
youtube inserturlhere
To get more into the inner working of this script and geek out…
I am going to try this out. Looks cool.
If anyone is going to do it, it’s you Ferny!
Nothing amazing, just an HTML parser that saves the video. I could write this up in PHP in about 3 seconds ;) I wish I knew python tho..
or you can just use greasemonkey with scripts to grab videos from youtube or any streaming site with firefox
Thanks for the time you’ve taken to write this script. I’ll give it a try.
can you post a step by step instruction on how to use these scripts to download flv files from youtube pls.?
can you post a step by step instruction on how to use these scripts to download flv files from youtube pls.?