Hi Steve (Young),
Here is my take. It is possible that the web page you are accessing
dynamically generates the page using the user-agent.
The user-agent when used from urllib2 will be set to Python-urllib/x.x.
If the page were generated dynamically, this would go into the "else"
part (of the
Steve Young wrote:
> Hi, I was wondering why when I use urllib2.build_opener().open(url), it
> doesn't give me the same thing as if I would just click on view-->
> source on my web browser. It gives me most of html on the page but
> leaves out lots of scripts and some of the link's urls are trun