From 18e89bee3d39349c137572cbe6d3a50a98e634be Mon Sep 17 00:00:00 2001 From: mAAdhaTTah Date: Sun, 29 Oct 2023 17:27:04 -0400 Subject: [PATCH] Fix readwise token Accidentally shipped this hard-coded. Token is long-size revoked, but obviously hard to use this way! --- archivebox/parsers/readwise_reader_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/parsers/readwise_reader_api.py b/archivebox/parsers/readwise_reader_api.py index a2a0c29a..7dd44267 100644 --- a/archivebox/parsers/readwise_reader_api.py +++ b/archivebox/parsers/readwise_reader_api.py @@ -32,7 +32,7 @@ class ReadwiseReaderAPI: def get_archive(self): response = requests.get( url="https://readwise.io/api/v3/list/", - headers={"Authorization": "Token s71gNtiNDWquEvlJFFUyDU10ao8fn99lGyNryvyllQcDSnrd7X"}, + headers={"Authorization": f"Token {self.api_token}"}, params={ "location": "archive", "pageCursor": self.cursor,