Add in progress status to Archive requests

This commit is contained in:
Logan Williams
2021-06-01 11:35:14 +02:00
parent 5b0fe4212a
commit 3e1e0e6a5f

View File

@@ -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)