You might want to also modify your c:/python/Lib/urllib.py file. By adding/modifying the following headers. self.addheaders = [('User-agent', 'Mozilla/4.0')] #Trick the server into thinking it is explorer self.addheaders = [('Referer','http://www.infomedia.it')] #Trick the site that you clicked on a link from their site.