Another algorithm & implementation of widely known readability conception.
Usage:
importrequestsfromreadabilityimportReadabilityhtml=requests.get('http://blog.hucheng.com/articles/482.html').contentparser=Readability(html.decode('utf8'))
parser.titleparser.articleparser.article.get_text()