URL Parsing Utility?
will
willg at bluesock.org
Mon Apr 8 16:57:31 EDT 2002
This is a 5-line python script:
import sys, urllib
try:
print urllib.unquote(sys.stdin.readline())
except:
print "could not be unquoted."
On Mon, 8 Apr 2002, Kent Borg wrote:
> Anyone know of a simple but good little URL parser? I want something
> that will take an obfuscated URL of the sort included in some spam,
> the ones that are full of %'s and =2e's and stuff like that.
>
> I want to know who is being promoted in spam so I can complain to
> their provider. The complaints must be annoying to them, otherwise
> why obscure themselves?
>
> I can decode the URLs by hand, but that is a slow and a pain. I could
> let my web browser decode them and then look at the result in netstat
> or something, but I don't want to provide them with any hits on their
> ads, information of my IP address, etc.
>
> So I want something I can feed
> "http://%36%36%2E%333.%36%30%2E9%31%2Fme%65tp%65o%70%6C%65/" and find
> out the machine it really points to.
>
> Suggestions?
>
>
> Thanks,
>
> -kb
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
>
--
whatever it is, you can find it at http://www.bluesock.org/~willg/
except Will--you can only see him in real life.
More information about the Discuss
mailing list