Parsing is one of those areas where you really don't want to roll your own if you can avoid it, as you'll be chasing down the edge-cases and bugs for years go come
I'd recommend using BeautifulSoup. It has a very good reputation and looks from the docs like it's pretty easy to use.