Add curl header to bypass suspected savannah throttling.
This commit is contained in:
parent
5b7175de3e
commit
7a0f03678c
|
@ -294,7 +294,8 @@ this script the next time")
|
||||||
|
|
||||||
# Actually download the file
|
# Actually download the file
|
||||||
headers = {
|
headers = {
|
||||||
"Accept-Encoding": "identity"
|
"Accept-Encoding": "identity",
|
||||||
|
"User-Agent": "curl/7.88.1"
|
||||||
}
|
}
|
||||||
if not os.path.isfile(abs_file_name):
|
if not os.path.isfile(abs_file_name):
|
||||||
print(f"Downloading: {file_name}")
|
print(f"Downloading: {file_name}")
|
||||||
|
|
Loading…
Reference in New Issue