def METHOD_NAME(url) -> str:
    filename = list(filter(lambda x: x!='', url.split('/')))[-1]
    download_path = f"{TEMPDIR}/{filename}"
    with open(download_path, 'wb') as f:
        f.write(requests.get(url).content)
    return download_path