Youtube-mass-dl

From GeekWiki

Jump to: navigation, search

youtube-mass-dl downloads a list of youtube videos and stores them in the specified location and format.

Contents

[edit] Invocation

youtube-mass-dl takes up to two arguments. The first one is required and the name of a file containing the videos and their destination filenames in a format described below. The second, optional argument is an integer and limits the simultaneous downloaded videos to that value, if not present it defaults to 10.

The file contains one line for each video containing the video id (the part after "&v=" in the youtube url), at least one space and the destination filename. Any additional whitespace around the arguments is ignored, but there mustn't be a space character before or in the video id.

[edit] Requirements

youtube-mass-dl uses youtube-dl and ffmpeg to download and convert the videos, so these have to be installed

[edit] Latest Updates

* 2010-02-28: v0.2 released
   - should catch most errors now
   - removed all waiting threads, halving the number of simultaneous running threads. The main thread does their work now
* 2010-02-01: First release

[edit] TODO

* Error checking done
* less fork()ing done

[edit] Requests / Contribution

If you have a feature request or bug to file please feel free to contact me. You'll find me as Nidan on irc.euirc.net and irc.freenode.net. You also can email me at nidan@ghostdub.de.

[edit] Documentation

This page ...and there's always the source ;)

[edit] Obtaining

The source code can be found at http://ghostdub.de/~nidan/stuff/youtube-mass-dl.c. There's also an example download file: http://ghostdub.de/~nidan/stuff/youtube-mass-dl-example.txt

[edit] Previous versions

v0.1 http://ghostdub.de/~nidan/stuff/youtube-mass-dl.0.1.c