rb2k/viddl-rb — pull request #31 by kl (2012-09-02 19:03:52+00:00)
Title: Viddl-rb as a library

Hey it's me again with another pull request :D

This is something I've been working on for a while - turning viddl-rb into a (very basic) library. I've documented how to use it in in the readme, and there are tests for it in the spec folder. It makes a few changes to some plugins that were using explicit exit calls and turns those into exceptions.

A use case for the library feature could be if you wanted to create your custom download routine (using curl or whatever else you might want) or it could be used in a web app for example.