Scraping a web page

Ronn Ross ronn.ross at gmail.com
Tue Apr 7 08:08:16 EDT 2009


I'm using the following to scrape a web page: import urllib

f = urllib.urlopen("http://www.google.com")
s = f.read()

It is working, but it's returning the source of the page. Is there anyway I
can get almost a screen capture of the page?

Dankon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090407/0aeb9769/attachment.html>


More information about the Python-list mailing list