beautiful soup library question

meyerkp at meyerkp at
Sat Mar 11 00:22:34 CET 2006

Hi all,

I'm trying to extract some information from an html file using
beautiful soup.  The strings I want get are after br tags, eg:

<font size='6'>
    <br>this info
    <br>more info
    <br>and more info

I can navigate to the first br tag using find_next_sibling, but how do
I get the string after the br's?
br.contents is empty.

thanks for any ideas.

More information about the Python-list mailing list