Un-shorten urls found in given text
pip install untinyurl==0.1.1
Un-shorten urls found in given text, Work as a standalone unshortener (reading from stdin, or its parameter) : From argv : $ wget -qO- --no-check-certificate \ 'https://raw.github.com/JulienPalard/untinyurl/master/README' | untinyurl From arguments : $ untinyurl 'The repo is here: http://bit.ly/xMN7PY' Or as a module: $ python Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from untinyurl import untiny >>> untiny('http://bit.ly/xMN7PY') 'https://github.com/JulienPalard/untinyurl'