<p>I want to parse some HTML in order to find the values of some attributes/tags etc.</p>

<p>What HTML parsers do you recommend? Any pros and cons?</p>

[{'answer_id': 26642, 'author': 'pek', 'author_id': 2644, 'author_profile': 'https://Stackoverflow.com/users/2644', 'pm_score': 3, 'selected': False, 'text': '<p>I have tried <a href="http://htmlparser.sourceforge.net/" rel="nofollow noreferrer">HTML Parser</a> which is dead simple.</p>\n'}, {'answer_id': 26645, 'author': 'Herms', 'author_id': 1409, 'author_profile': 'https://Stackoverflow.com/users/1409', 'pm_score': 1, 'selected': False, 'text': "<p>Do you need to do a full parse of the HTML?  If you're just looking for specific values within the contents (a specific tag/param), then a simple regular expression might be enough, and could very well be faster.</p>\n"}, {'answer_id': 26680, 'author': 'jelovirt', 'author_id': 2679, 'author_profile': 'https://Stackoverflow.com/users/2679', 'pm_score': 5, 'selected': True, 'text': '<p><a href="http://sourceforge.net/projects/nekohtml/" rel="nofollow noreferrer">NekoHTML</a>, <a href="http://home.ccil.org/~cowan/XML/tagsoup/" rel="nofollow noreferrer">TagSoup</a>, and <a href="http://sourceforge.net/projects/jtidy/" rel="nofollow noreferrer">JTidy</a> will allow you to parse HTML and then process with XML tools, like XPath.</p>\n'}]
['https://Stackoverflow.com/questions/26638', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2644/']