commit: 7a0f03678cc0933b9c09887033d1f15cf0087b40
parent 5b7175de3e3334cf17dddff91ad608390353e15d
Author: rick-masters <grick23@gmail.com>
Date: Wed, 10 Jan 2024 17:46:15 +0000
Add curl header to bypass suspected savannah throttling.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/generator.py b/lib/generator.py
@@ -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}")