Re: html source

2006-02-14 Thread Kartic
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

Re: html source

2006-02-13 Thread Steve Holden
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