From 7a0f03678cc0933b9c09887033d1f15cf0087b40 Mon Sep 17 00:00:00 2001 From: rick-masters Date: Wed, 10 Jan 2024 17:46:15 +0000 Subject: [PATCH] Add curl header to bypass suspected savannah throttling. --- lib/generator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/generator.py b/lib/generator.py index 0f16e2f..431eadd 100755 --- 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}")