mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
Use service_account.json
This commit is contained in:
@@ -291,7 +291,7 @@ def record_stream(url, s3_client, wks, i, columns, v):
|
|||||||
|
|
||||||
|
|
||||||
def process_sheet(sheet):
|
def process_sheet(sheet):
|
||||||
gc = gspread.service_account()
|
gc = gspread.service_account(filename='service_account.json')
|
||||||
sh = gc.open(sheet)
|
sh = gc.open(sheet)
|
||||||
n_worksheets = len(sh.worksheets())
|
n_worksheets = len(sh.worksheets())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user