A simple interface to the offliberty.com download service.
MIT License
A simple interface to the offliberty.com download service.
Add this line to your application's Gemfile:
gem 'offliberty'
And then execute:
$ bundle
Or install it yourself as:
$ gem install offliberty
require 'offliberty'
song = Offliberty::Off.new("https://www.youtube.com/watch?v=A4GhUglZ5NU")
song.offliberate # Get the download link
song.download # Download the song near this ruby script
$ off https://www.youtube.com/watch?v=A4GhUglZ5NU
Or with a textfile with multiple links
$ cat example
https://www.youtube.com/watch?v=uiGpv-UeiDI
not link
https://www.youtube.com/watch?v=oHowqKYSXNI
random text
$ off example
Requesting...
Downloading...
Finished!
Requesting...
Downloading...
Finished!
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)