Python 3 HTML Parse
Wednesday, 04 April 2011
Sample code for HTML parsing with Python 3.
>>> from html.parser import HTMLParser
>>> parss=HTMLParser()
>>> parss.feed('<a href="http://m-eken.com">link</a>')
>>> parss.get_starttag_text()
'<a href="http://m-eken.com">'
>>>