urlunshortTools for detecting and expanding shortened URLs | |
Download |
urlunshort Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Rune Halvorsen
- Publisher web site:
- http://bitbucket.org/runeh/
urlunshort Tags
urlunshort Description
Tools for detecting and expanding shortened URLs Urlunshort is an utility that un-shortens URLs that have been created using a URL shortening services, like tinurl.com, bit.ly etc.ExamplesResolve a short URL to a target URL>>> from urlunshort import resolve>>> resolve("http://bit.ly/qlKaI")'http://bitbucket.org/runeh/urlunshort/'Check if URLs are shortened>>> from urlunshort import is_shortened>>> is_shortened("http://bit.ly/qlKaI")True>>> is_shortened("http://www.opera.com")False Requirements: · Python
urlunshort Related Software