From dcb226b3a4684b0cd5e5c44fa81505569923f152 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Thu, 9 Jun 2022 09:25:49 +0200 Subject: [PATCH] process the whole barcode list --- image_fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_fetch.py b/image_fetch.py index 486b431..416a25d 100644 --- a/image_fetch.py +++ b/image_fetch.py @@ -36,4 +36,4 @@ with open("barcode_cleaned.csv") as bcfile: save_path = "specimen_img_raw/" + barcode + "." + img_ext save_resp = requests.get(img_url, headers=HEADERS, allow_redirects=True) open(save_path, "wb").write(save_resp.content) - break + time.sleep(1)