Merge pull request #404 from rick-masters/add-curl-header-for-download

Add curl header to bypass suspected savannah throttling.
This commit is contained in:
Andrius Štikonas 2024-01-10 22:36:48 +00:00 committed by GitHub
commit 969f42155b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -294,7 +294,8 @@ this script the next time")
# Actually download the file
headers = {
"Accept-Encoding": "identity"
"Accept-Encoding": "identity",
"User-Agent": "curl/7.88.1"
}
if not os.path.isfile(abs_file_name):
print(f"Downloading: {file_name}")