Offliberty
Offlibery is a simple interface to the offliberty.com download service.
Usage
Directly from the terminal
You can pass multiple URLs:
$ sudo npm install -g offliberty$ off https://www.youtube.com/watch?v=Y1st6O1tqII https://www.youtube.com/watch?v=VWV7CGx9MAQ
Or you can pass en entire file: Notice: Reading from file is synchronous, don't use large files.
$ cat music.txthttp://www.youtube.com/watch?v=0s7E2uIn3tMhttp://www.youtube.com/watch?v=iSRu0_DrTyUhttp://www.youtube.com/watch?v=C3QK1FVVNNk$ off music.txtRequesting...http://k27.offliberty.com/C3QK1FVVNNk.mp3http://k12.offliberty.com/iSRu0_DrTyU.mp3http://k52.offliberty.com/0s7E2uIn3tM.mp3
Requesting...http://k18.offliberty.com/VWV7CGx9MAQ.mp3http://k14.offliberty.com/Y1st6O1tqII.mp3
From awesome Javascript:
var offliberty = ; console;offliberty;
Requesting...http://k15.offliberty.com/CIqWwiC1BFI.mp3
Methods
off(url, callback)
url
: String representing of the URL you want to get download links for.callback
: the callback function
Test
$ npm test
License
See the LICENSE file.
Notes
Special thanks to Ionică Bizău who forked and helped me improve this module, and Marius Gavrilescu who had the idea and made this first for the Perl Community.