[Tutor] Grabbing data from changing website

Kent Johnson kent37 at tds.net
Wed Jun 4 16:26:31 CEST 2008


On Wed, Jun 4, 2008 at 10:00 AM, James <jtp at nc.rr.com> wrote:

> Is there a good module to 'grab' data from a page and dump it into a
> data structure? The parsing will likely be rather easy. :)

urllib2 will grab the HTML. BeautifulSoup will parse it and allow
fairly easy access. My writeup on each:
http://personalpages.tds.net/~kent37/kk/00010.html
http://personalpages.tds.net/~kent37/kk/00009.html

Kent


More information about the Tutor mailing list