beautiful soup library question

meyerkp at gmail.com meyerkp at gmail.com
Fri Mar 10 18:22:34 EST 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
</font>

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