Skip to main content

Introduction

Urlunshort un-shortens URLs that have been created using a URL shortening services, like tinurl.com, bit.ly etc.

Examples

Resolve 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

Contact

Author: Rune Halvorsen <runefh@gmail.com> Web site and issue tracker: http://bitbucket.org/runeh/urlunshort/

Bug reports and patches appreciated.

Changelog

See CHANGELOG file

Home page and bug tracker: http://bitbucket.org/runeh/urlunshort

License: BSD license. See the LICENSE file in the top level of the distribution

Release files for urlunshort 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for urlunshort 0.2.4
File Size Uploaded
urlunshort-0.2.4.tar.gz 3.4 kB Details

Release files / urlunshort-0.2.4.tar.gz

Download URL urlunshort-0.2.4.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f74096ac395c605e7a02bde6571ac19722af3c61ac5572814710b225bdb65fc7
BLAKE2b-256 checksum
How to use checksums
9ca3ea0d765d1be2cc2ccca8f5a8ec6280e9f32a552f33b893f5490ccf9d3da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.4 This release

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page