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).
```
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).
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.27.tar.gz
(8.4 kB
view details)
File details
Details for the file urlexpander-0.0.27.tar.gz.
File metadata
- Download URL: urlexpander-0.0.27.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a97a00e38e78361bb48c5f18dc123dd98896267d7d7c22b6b04da3d2514c6b6a
|
|
| MD5 |
997eab529270c16a7d2f5d067cd00f26
|
|
| BLAKE2b-256 |
0f9598e5a7f289a76cba25a345754810beda448cccbf407ba6e6e0d7126933af
|