Skip to main content

Unshortens ad-based shorteners and any 301 redirected urls.

Project description

Unshortens ad-based urls and 301 redirects. Supports,, and


  • Supports unshortening the following ad-based shortners:
    • and related subdomains



  • Supports any 301 redirected urls

  • Meta Refresh redirected urls

  • Python 3.5+ support only


Documentation for this library can be found [here](


0.4.0 (2018-04-01)

  • BREAKING CHANGES - API has changed. Major refactoring of entire code-base.

  • Added support for adding additional domains at runtime

  • Added support to create your own modules and add them at runtime

  • Included a command line interface to unshorten links via CLI

0.3.1 (2017-11-26)

  • Fixed decoding issues (provided by @marlowww)

0.3.0 (2016-05-20)

  • Split out unshortening and unwrapping 301 redirects into separate calls.

  • Added support for unwrapping google proxy links.

  • Some general cleanup in tests, updated some of the test links.

  • Handle links (provided by @guigarfr)

  • Handle links (provided by @guigarfr)

  • Update user-agents (provided by @Dreysman)

0.2.3 (2015-11-13)

  • Fixed support

0.2.2 (2014-07-28)

  • Removed as site is out of service

0.2.1 (2014-05-18)

  • Removed tests for and Support has been temporarly removed.

  • Merged Debian Python 3.2 fix by anaconda

0.2.0 (2014-02-25)

  • Removed PyV8 requirement for

  • Added domain for regex

  • Added support

0.1.9 (2014-02-08)

  • Switched to use selenium PhantomJS driver due to ongoing challenges with their site

0.1.8 (2014-02-04)

  • Fixed issues resulting from additional changes to their site

0.1.7 (2014-02-03)

  • Fixed issues resulting from additional changes to their site

0.1.6 (2014-02-01)

  • Fixed issues resulting from changes to their site

  • Fixed issues resulting from changes to their site

0.1.4 (2013-10-12)

  • Added support for

  • Fixed blocking issue with direct links to file downloads

0.1.3 (2013-10-11)

  • Added a timeout parameter

0.1.2 (2013-10-11)

  • Fixed bug with not working.

0.1.1 (2013-10-11)

  • Added support for custom domains via the type=’adfly’ variable.

0.1.0 (2013-10-08)

  • First release.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unshortenit-0.4.0.tar.gz (8.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page