uNoShortURLI've been working on this script for a few days now, I'm not quite happy about it just yet, but the moment will come.
So what does this script do you may ask, it extracts the destination URL of an URL shortened link,
for instance:
http://bit.ly/1i09fqW will become
https://evilzone.orgSo far there are about 866 domains in the database which are supported, more will be added when I feel motivated
again to work on this project.
The script accepts either one or more URLs via the -u/--url parameter (seperated by space or comma) as well as reading
URLs from file. For the moment the script doesn't print the URLs to stdout, it prints it to stderr, feel free to modify your
version in any way you ever want.
The usage information of this script:
usage: unshort.py [-h] [-q] (-u [URL [URL ...]] | -f FILE)
optional arguments:
-h, --help show this help message and exit
-q, --quiet Quiet mode, be as non-verbose as possible
-u [URL [URL ...]], --url [URL [URL ...]]
One or more shortened URLs.
-f FILE, --file FILE Read URLs from file.
The requirements for this project:Contribution:If you feel like contributing check out
le repo and help me gather test URLs which aren't already in the SERVICES file.
Feedback:As always I'm trying to improve my code and at the same time my knowledge about python in general, if you have any
feedback, requests, improvements or bug reports please let me know!
And remember, this is a work in progress project, it might break your computer and detonate the c4 which was strapped
on your chest while you were reading this thread.
Download:https://github.com/Daxda/uNoShortURL