need help with python syntax

gene tani gene.tani at
Sun Dec 25 05:50:47 CET 2005

homepricemaps at wrote:
> if i have a piece of html that looks like this
> <tr class="rulesbody">
> <td width="183" class="rulesbody">
> and i want to scrape out , what syntax would i use?  i have
> tried this and it doesn't work
> for incident in bs('td', {'class' : 'rulesbody'}, {'class' :
> 'rulesbody'} ):

Did you try Beautiful soup, as suggested in the reply you got the 1st
time you posted this question?

More information about the Python-list mailing list