How do I get data out of HTML?

Try Beautiful Soup:

http://www.crummy.com/software/BeautifulSoup

Beautiful Soup is more forgiving than other parsers in that it won’t choke on bad markup.

If you want to parse HTML into a structure compatible with Python’s ElementTree library, you can use the ElementSoup adapter:

http://effbot.org/zone/element-soup.htm

CATEGORY: tutor

 

A Django site. this page was rendered by a django application in 0.01s 2008-10-13 12:56:21.662645. hosted by webfaction.