From 3e1e0e6a5f7338619452377d0feb8c69009a4306 Mon Sep 17 00:00:00 2001 From: Logan Williams Date: Tue, 1 Jun 2021 11:35:14 +0200 Subject: [PATCH] Add in progress status to Archive requests --- auto_archive.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auto_archive.py b/auto_archive.py index 17a548e..63a3e5e 100644 --- a/auto_archive.py +++ b/auto_archive.py @@ -382,6 +382,9 @@ def process_sheet(sheet): except: # i'm sure there's a better way to handle this than nested try/catch blocks try: + wks.update( + columns['status'] + str(i), 'Archive in progress') + r = requests.get( 'https://web.archive.org/save/' + v[url_index], allow_redirects=True)