https://github.com/phpdude/python-urlsresolver
Python urls resolver library
https://github.com/phpdude/python-urlsresolver
Last synced: about 1 year ago
JSON representation
Python urls resolver library
- Host: GitHub
- URL: https://github.com/phpdude/python-urlsresolver
- Owner: phpdude
- Created: 2015-09-21T17:04:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T16:36:28.000Z (over 7 years ago)
- Last Synced: 2025-03-24T10:48:08.911Z (about 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# urlsresolver v1.2.0
Python urls resolver library with meta refresh support.
You can expand real address of any shortened url with `urlsresolver.resolve_url(url)` function.
Checks for meta refresh html tags & refresh http header.
# Installation
You can install library as usual with `pip install urlsresolver`.
# Python module usage
Example of usage module as console utility.
```
@dude > python -m urlsresolver http://t.co/dRW1iSInvA -V
Source:
http://t.co/dRW1iSInvA
Expanded:
http://www.findelight.net/frenbull_detail.html?id=1078982008178233213_2206075018
Redirects history:
1. http://t.co/dRW1iSInvA
2. http://www.findelight.net/frenbull_detail.html?id=1078982008178233213_2206075018
Total 1 redirects
```
# Contributon and contacts
You can write me to alexandr.shurigin@gmail.com for any question.
Pull Requests are welcome.