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 [quickstart](http://nbviewer.jupyter.org/github/SMAPPNYU/urlExpander/blob/master/examples/quickstart.ipynb?flush=true).

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.20.tar.gz (8.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for urlexpander-0.0.20.tar.gz
Algorithm Hash digest
SHA256 847c34c2f9d03fe999fea2b3f88adfe4f30d4a4bf53745ce9b53cbbc1c766254
MD5 abb8e802190941fb8206cf8a7aaac3e4
BLAKE2b-256 5b95ff6c9ffb519210cda9f104d2abe7361d83307956dcdaf45dccd82bd3d515

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