Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michelep/pyurlunshortner
A simple Python URL unshortner
https://github.com/michelep/pyurlunshortner
Last synced: about 7 hours ago
JSON representation
A simple Python URL unshortner
- Host: GitHub
- URL: https://github.com/michelep/pyurlunshortner
- Owner: michelep
- License: gpl-3.0
- Created: 2023-10-23T10:24:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T19:23:36.000Z (about 1 year ago)
- Last Synced: 2023-12-14T09:34:25.749Z (11 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyURLUnshortner
A simple **Python command-line URL unshortner**
Quick and dirty script i wrote to track down phishing URLs. Few lines of code to unshorten URLs tracking HTTP connections through redirects, with timeout.
$ python3 unshortner.py -u http://zerozone.it
Hop Time Code URL
1 618.384587ms 301 https://zerozone.it/
2 1027.798862ms 301 https://www.zerozone.it/
3 1148.642249ms 200 https://www.zerozone.it/## Requirements
Require Python3 requests and validators, just run `pip install -r requirements.txt`