Re: Inconsistent result from urllib.urlopen
- From: Laszlo Nagy <gandalf@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 Apr 2007 20:41:06 +0200
Any ideas why I don't get the same result from the python script as IMaybe it has to do something with your user agent string. The server side can decide to return a different content when your user agent is not 'mozilla', 'internet explorer' or 'opera' etc.
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.
Do you want to know how to change your user agent string? Google for it.... :-)
Laszlo
.
- Follow-Ups:
- Re: Inconsistent result from urllib.urlopen
- From: junkdump2861
- Re: Inconsistent result from urllib.urlopen
- References:
- Inconsistent result from urllib.urlopen
- From: junkdump2861
- Inconsistent result from urllib.urlopen
- Prev by Date: Re: odd unicode error
- Next by Date: Re: odd unicode error
- Previous by thread: Inconsistent result from urllib.urlopen
- Next by thread: Re: Inconsistent result from urllib.urlopen
- Index(es):
Relevant Pages
|