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.21.tar.gz
(8.1 kB
view details)
File details
Details for the file urlexpander-0.0.21.tar.gz.
File metadata
- Download URL: urlexpander-0.0.21.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d61189c750f630013c4da59eaa8c6a86ed9fefa036ed3de2c6ddd45d0bc3f974
|
|
| MD5 |
c72e79ca5d84c343f79adbf85430a0f2
|
|
| BLAKE2b-256 |
0b3375dc7a98f7bb51e91582823e7a7726724a507d6db31f39ea44161f3522a2
|