[Tutor] Grabbing data from changing website

James jtp at nc.rr.com
Wed Jun 4 16:48:04 CEST 2008


Thanks for the prompt reply, Kent!

On Wed, Jun 4, 2008 at 10:26 AM, Kent Johnson <kent37 at tds.net> wrote:
> 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