hugeurl
expand tinyurl, bit.ly, t.co and more.
Installation
% gem install hugeurl
Usage
require 'rubygems'
require 'hugeurl'
puts URI.parse("http://bit.ly/d4VYD2").to_huge # => get expanded URI instance
hugeurl command
% hugeurl http://bit.ly/d4VYD2
or
% cat url_list.txt | hugeurl
Test
% gem install bundler
% bundle install
% rake test
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request