[Tutor] issues with urllib and loading a webpage

Robert Sjoblom robert.sjoblom at gmail.com
Wed Aug 24 00:03:23 CEST 2011


>> Are you using Python 3 and urllib, and not using httplib2? Because I
>> honestly can't get urllib.request.urlopen to work with
>> http://www.boursorama.com/ -- I only get b'' from there.
>
> Yes, Python 3.2 which version one are you using? I tried both with
> debug and without.

Python 3.2.1 64 bit on win 32. This is really quite weird. There
should be something there, because the headers alone doesn't account
for the 7kb that's received.


More information about the Tutor mailing list