Download videos from 3


On Ubuntu a better approach to download youtube videos from command line is using clive. It has options to download the best available format for the video using the -f option.

Also a to download videos directly from the homepage a firefox extension provides a “Save As” option just below the playing video. Here again, we have option to download from HD to the lowest available resolution of the video. Get the extension from here.

Old method below, keeping it around for the memories.!!

Recently I found a fantastic python script do download videos from

You just need to pass the url of the video like this
$youtube-dl -t

Below is a script which can download the videos based on your search results on
Suppose you make a search as Shilpa Shetty Big Brother 😛 and you get a results page, now save this page as say results.html

Now put the below give script into a file called as and run it from the directory u saved results.html

#script to download vids from
#! /bin/sh
if [ $# -lt 1 ]; then
echo "Usage: $0 filename.html |which has links from search results"
echo "-Ajo Paul"
exit 1
for i in `cat $1 | grep "watch?" | cut -d '"' -f 2`
if [ "$watchlink" != "$i" ]; then
echo "*********Now Downloading $i **********"
# youtube-dl -t $i 2>&1;
echo "Done!"
echo "-Ajo Paul"

You can also put this script as a cronjob, but before that you must download youtube-dl and put in anywhere in your $PATH.

Please like & share:

3 thoughts on “Download videos from

  1. Reply Save YouTube Video Feb 19,2007 6:35 am

    I use to save any youtube videos. They also got a latest saved section.

  2. Reply Ajo Paul Feb 20,2007 6:08 am

    But ofcourse you can download only one vid a time 🙂 . The idea above was to be able to download all videos from search pages(with links) on Say u search for Lab puppies, save the page and give it to the script using the above code, u wud get all the vids listed on the page! 🙂 🙂

  3. Reply youtube profits Aug 22,2012 4:35 pm

    hey there and thank you on your info ? I’ve definitely picked up anything new from proper here. I did then again expertise some technical issues using this site, since I experienced to reload the web site lots of instances prior to I may get it to load properly. I were considering in case your hosting is OK? Not that I’m complaining, but sluggish loading circumstances occasions will sometimes affect your placement in google and can injury your high quality ranking if advertising and marketing with Adwords. Anyway I am including this RSS to my email and can look out for much more of your respective intriguing content. Make sure you update this once more soon..

Leave a Reply to Save YouTube Video Cancel Reply