Using lxml for parsing the html for Python 2.7 compat.