def unicode_from_html(content):

    encodings = get_encodings_from_content(content)

    for encoding in encodings:

        try:
            return unicode(content, encoding)
        except (UnicodeError, TypeError):
            pass

        return content
Attempts to decode an HTML string into unicode.
dataset/ETHPy150Open bububa/pyTOP/pyTOP/packages/requests/utils.py/unicode_from_html