

def download_html_tree(url, force=False, real_browser=False):
    (content, encoding) = download_content(url, force, real_browser)
    try:
        new_content = content.encode(encoding)
    except Exception:
        new_content = content.encode('utf8')
    tree = get_html_tree(force, encoding)
    return tree

dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/docutil/commands_util.py download_html_tree/VarMisuse@66/85 `new_content`->`force`