Re: how to save a whole web page with something block

2010-08-12 Thread Lawrence D'Oliveiro
In message , Daniel Fetchinson wrote: > A web server may present different output depending on the client > used. It may also require execution of some JavaScript to insert HTML content. > So you might want to make urllib appear as a browser by sending the > appropriate headers. If the above i

Re: how to save a whole web page with something block

2010-08-10 Thread Daniel Fetchinson
> I want to save a web page. I use urllib to parse the web page. But I > find the saved file, where some content is missing. The missing part > is block from the original web page, such as this part style="display: block;" id="GeneInts">I don't know how to > parse a whole page without someth