Using Cookie and Proxy handler with urllib2

2008-02-09 Thread Joshua Gilman
Hello, here is my current code: import urllib, urllib2, cookielib class wrapper: def __init__(self): self.setupCookies() def request(self, address, postData=None, headers={ }): if not postData == None: postData = urllib.urlencode(postData) req = urllib

Looping through the gmail dot trick

2008-01-20 Thread Joshua Gilman
So I have a very interesting task ahead of me and it is to loop through an email using the 'gmail dot trick'. Essentially this trick puts periods throughout your email to make it look different. Even though it has periods gmail will replace them all and send it to that email. So [EMAIL PROTECTED]