Massage with BeatifulSoup or clean with Regex

Posted by Mridang Agarwalla on Stack Overflow See other posts from Stack Overflow or by Mridang Agarwalla
Published on 2010-06-17T11:33:19Z Indexed on 2010/06/17 12:03 UTC
Read the original article Hit count: 305

Filed under:
|

Could someone tell me whats a better way to clean up bad HTML so BeautifulSoup can handle it - should one use the massage methods of BeautifulSoup or clean it up using regular expressions?

Thanks.

© Stack Overflow or respective owner

Related posts about python

Related posts about beautifulsoup