> headers = {} > headers['User-Agent'] = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; > rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4' > > request = urllib2.Request(url, headers) > file = urllib2.urlopen(request)
ah, thanks a lot, that works ! Best regards, Gabriel. -- /-----------------------------------------------------------------------\ | If you know exactly what you will do -- | | why would you want to do it? | | (Picasso) | \-----------------------------------------------------------------------/ -- http://mail.python.org/mailman/listinfo/python-list