https://github.com/quark-zju/unshorten
Get original URLs from shortened ones.
https://github.com/quark-zju/unshorten
Last synced: about 1 month ago
JSON representation
Get original URLs from shortened ones.
- Host: GitHub
- URL: https://github.com/quark-zju/unshorten
- Owner: quark-zju
- License: bsd-2-clause
- Created: 2011-12-09T16:20:01.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-09-20T15:15:11.000Z (over 1 year ago)
- Last Synced: 2025-04-04T02:41:28.670Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 24.4 KB
- Stars: 16
- Watchers: 6
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Unshorten
====Get original URLs from shortened ones.
Install
----$ gem install unshorten
Usage
----Using shell:
$ unshorten bit.ly/vkmMJO
https://github.com/quark-zju/unshortenUsing Ruby:
require 'unshorten'
url = Unshorten['bit.ly/vkmMJO'] # "https://github.com/quark-zju/unshorten"