html source

Steve Holden steve at holdenweb.com
Mon Feb 13 16:53:48 EST 2006


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 truncated. Is 
> there something out there in python that gives me EXACTALLY the same 
> thing as if you were to just do view-->source on the web browser? Thanks 
> for the help.
> 
If this observation is truly correct it should qualify as a bug. Can you 
give us a URL and some code which demonstrate your assertion?

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list