From 74e39a9e50581b45bf3ecd5b26ecd9d53798c571 Mon Sep 17 00:00:00 2001 From: Tom Morrell <tmorrell@caltech.edu> Date: Mon, 8 Jan 2024 15:10:36 -0800 Subject: [PATCH] Remove unneded token --- ames/harvesters/caltechauthors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ames/harvesters/caltechauthors.py b/ames/harvesters/caltechauthors.py index e2a87ed..f783ec7 100644 --- a/ames/harvesters/caltechauthors.py +++ b/ames/harvesters/caltechauthors.py @@ -112,7 +112,7 @@ def get_group_records(group_identifier, test=False): hits = [] for c in range(1, pages + 1): chunkurl = f"{url}&size=1000&page={c}" - response = requests.get(chunkurl, headers=headers).json() + response = requests.get(chunkurl).json() hits += response["hits"]["hits"] return hits