import requests


def download_url(url):
    """Downloads a URL file as a browser."""
    headers = {'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'}
    r = requests.get(url, headers=headers, stream=False)
    return r.content.decode("utf-8")