#!/usr/bin/python
#
#DESCRPTION
#  Simplify a URL by replacing the % escapes with the corresponding
#  chars.  Mostly useful for decrypting the obfuscated URLs in spam
#  and other such misleading text.
#
#AUTHOR
# will <willg@bluesock.org> on discuss@blu.org 2002-4-8

import sys, urllib, string

if len(sys.argv) > 1:
	ick = sys.argv[1]
else:
	ick = sys.stdin.readline()
#	ick = ick.replace("\n", "")

try:
	print urllib.unquote(ick)
except:
	print "could not be unquoted."

