What is the best way to "get" a web page?

Pete harbingerofpeace at post.com
Sun Sep 24 22:09:14 CEST 2006

> > Functionally they are the same, but third line included in Firefox.
> > Opera View Source command produces the same result as Python.
> [snip]
> It's better to compare with the result of a downloader-only (instead
> of a parser), like wget on Unix. That way you'll get exactly the same
> bytes (assuming the page is static).
> --
> Felipe.

Ahhhh. wget - most cool. My temp.html matches wget. Now to capture that
pesky css stuff...


More information about the Python-list mailing list