Inconsistent result from urllib.urlopen
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Thu Apr 12 15:15:39 EDT 2007
En Thu, 12 Apr 2007 15:25:03 -0300, <junkdump2861 at hotmail.com> escribió:
> Any ideas why I don't get the same result from the python script as I
> do from a web browser? This problem seems to be a recent
> development. The scripts I wrote like this worked fine for a while
> and then stopped working within the past couple of weeks.
The server (that is, Wikipedia) may choose to send a different response
based on the User-Agent header you provide.
--
Gabriel Genellina
More information about the Python-list
mailing list