Scraping a web page

cgoldberg cgoldberg at gmail.com
Tue Apr 7 11:12:03 EDT 2009


> Is there anyway I
> can get almost a screen capture of the page?

I'm not sure exactly what you mean by "screen capture".  But the
webbrowser module in the standard lib might be of some help.  You can
use it to drive a web browser from Python.

to load a page in your browser, you can do something like this:

-----------------------------------
#! /usr/bin/env python

import webbrowser

url = 'http://www.google.com'
webbrowser.open(url)
-----------------------------------

-Corey



More information about the Python-list mailing list