Re: ****SPAM(11.8)**** Re: [Tutor] returning table elements with Beautiful Soup

2005-03-07 Thread Kent Johnson
Bob Gailer wrote: At 06:20 AM 3/5/2005, Alan Gauld wrote: > > I'm trying to use Beautiful Soup to scrape some data out of an HTML > > table. I can do this using A new one on me, but Beautiful Soup looks very interesting. I've just downloaded it. From where? My Google search does not help. Actua

Re: ****SPAM(11.8)**** Re: [Tutor] returning table elements with Beautiful Soup

2005-03-07 Thread Bob Gailer
At 06:20 AM 3/5/2005, Alan Gauld wrote: > > I'm trying to use Beautiful Soup to scrape some data out of an HTML > > table.  I can do this using A new one on me, but Beautiful Soup looks very interesting. I've just downloaded it. From where? My Google search does not help. Thanks for pointing it

Re: [Tutor] returning table elements with Beautiful Soup

2005-03-05 Thread Alan Gauld
> > I'm trying to use Beautiful Soup to scrape some data out of an HTML > > table. I can do this using A new one on me, but Beautiful Soup looks very interesting. I've just downloaded it. Thanks for pointing it out. Alan G. ___ Tutor maillist - Tuto

Re: [Tutor] returning table elements with Beautiful Soup

2005-03-04 Thread Kent Johnson
Bill Kranec wrote: Hi, I'm trying to use Beautiful Soup to scrape some data out of an HTML table. I can do this using table = soup("td", {'class' : 'yfnc_tabledata1' }) table[0].string.strip() OK, table is a list of Tags, the first one has a 'string' attribute. However, if I try for entry in tab

[Tutor] returning table elements with Beautiful Soup

2005-03-04 Thread Bill Kranec
Hi, I'm trying to use Beautiful Soup to scrape some data out of an HTML table. I can do this using table = soup("td", {'class' : 'yfnc_tabledata1' }) table[0].string.strip() However, if I try for entry in table: entry.string.strip() I get: AttributeError: Tag instance has no attribute 'string