for file_url in file_list: response = requests.get(file_url) with open(file_url.split("/")[-1], "w") as f: f.write(response.text)
file_list = [...] # list of file URLs
import requests