def METHOD_NAME(url, output_folder):  
    try:  
        response = requests.get(url)  
        response.raise_for_status()  
    except HTTPError as e:  
        print(f"Error while downloading {url}: {e}")  
        return  
    file_name = os.path.basename(urlparse(url).path)  
    output_path = os.path.join(output_folder, file_name)  
    with open(output_path, 'wb') as file:  
        file.write(response.content)  