Get original URLs from shortened ones.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Add '\n' in binary usage Dec 9, 2011
lib Bump to 0.3.3 Sep 4, 2015
test
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md Add README.md Dec 9, 2011
Rakefile initial import Dec 9, 2011
unshorten.gemspec Bump to 0.3.3 Sep 4, 2015

README.md

Unshorten

Get original URLs from shortened ones.

Install

$ gem install unshorten

Usage

Using shell:

$ unshorten bit.ly/vkmMJO
https://github.com/quark-zju/unshorten

Using Ruby:

require 'unshorten'
url = Unshorten['bit.ly/vkmMJO'] # "https://github.com/quark-zju/unshorten"