Skip to main content

urlExpander is a Python package for quickly and thoroughly expanding shortened URLs.

Project description

This package makes working with link data from social media and webpages easier. It not only expands links, but catches errors, and makes parallel link expansion quick and efficient.
```
import urlexpander as ux
ux.expand('https://trib.al/xXI5ruM')
```
returns
```
{'original_url': 'https://trib.al/xXI5ruM',
'resolved_domain': 'breitbart.com',
'resolved_url': 'https://www.breitbart.com/video/2017/12/31/lindsey-graham-trump-just-cant-tweet-iran/'}
```

Please take a look at the <a href='http://nbviewer.jupyter.org/github/SMAPPNYU/urlExpander/blob/master/examples/quickstart.ipynb?flush=true'>quickstart</a>

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

urlexpander-0.0.19.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file urlexpander-0.0.19.tar.gz.

File metadata

  • Download URL: urlexpander-0.0.19.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for urlexpander-0.0.19.tar.gz
Algorithm Hash digest
SHA256 fc34dc6622eecbcf20c70d64c1f2bddab2853ff3cdc6981a26a317cd94b32ffb
MD5 51c8354f112fb63f700d51ceaece2554
BLAKE2b-256 345cf046fdbeb9f0bd5e349bcbaffae8b83adeac29f5cd0e4065d811551c4582

See more details on using hashes here.

Supported by

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