so here is the syntax folks!!!

 for anchor in soup.fetch('a', {'target': '_blank'}):
       print anchor['href']



[EMAIL PROTECTED] wrote:
> so you recommend using some sort of for statement with the html parser
> where i tell it to only parse stuff found in the <tr> tag for instance?
>
> Ravi Teja wrote:
> > Regular Expressions are the most common way.
> > http://docs.python.org/lib/module-re.html
> >
> > HTML parser is another
> > http://docs.python.org/lib/module-htmllib.html

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to