BeautifulSoup to get string inner 'p' and 'a' tags
GinTon
jonasmg at softhome.net
Mon Jul 24 06:21:14 EDT 2006
Marc 'BlackJack' Rintsch wrote:
> In [53]: print tree.first('p').contents[0]
> FOO
>
Thanks! I was going to crazy with this.
More information about the Python-list
mailing list