Home

Hi,
I'm trying to get wikipedia page source with urllib2:
usock = urllib2.urlopen("http://en.wikipedia.org/wiki/
Albert_Einstein")
data = usock.read();
usock.close();
return data
I got exception because HTTP 403 error. why? with my browser i can't
access it without any problem?

Thanks,
Shahar.

previous
next

Re: Confusion about inheritance and the allocating memory via new
Re: All leading tabs or all leading spaces - why isn't that enforced?
Re: Using wild character
Re: append data to a vector
Re: Biased random?
Akogo
Podaruj Zycie
Mimo Wszystko
Fundacja Sloneczko
Niechciane i Zapomniane