Download multiple youtube videos at once with linux and clive

If for some reason you need to download videos from Youtube, one of the best tools in my opinion is a tiny program written in Python called Clive.

If you are using Ubuntu, you can install from the command line using the usual:

  1. sudo apt-get install clive

After this, if you find yourself with the need to download for example my turtle having fun with a rock, you just issue the command:

  1. clive http://www.youtube.com/watch?v=dB6FCWyzmjI

But, and this is where it gets very useful, if you need to get multiple videos, you just need to put the list in a text file. In the text file, put each url in a separate new line.

Then you can use:

  1. cat list.txt | clive

And clive will download everything for you. The files will be named according to the title of the youtube page and you can enjoy kitten fighting and people falling from bikes anytime you want! :-)

Comments

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><h2><h3><img>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <drupal5>, <drupal6>, <javascript>, <php>. The supported tag styles are: <foo>, [foo].

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.