Browse Source

Fix readwise token

Accidentally shipped this hard-coded. Token is long-size revoked,
but obviously hard to use this way!
mAAdhaTTah 2 years ago
parent
commit
18e89bee3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      archivebox/parsers/readwise_reader_api.py

+ 1 - 1
archivebox/parsers/readwise_reader_api.py

@@ -32,7 +32,7 @@ class ReadwiseReaderAPI:
     def get_archive(self):
     def get_archive(self):
         response = requests.get(
         response = requests.get(
             url="https://readwise.io/api/v3/list/",
             url="https://readwise.io/api/v3/list/",
-            headers={"Authorization": "Token s71gNtiNDWquEvlJFFUyDU10ao8fn99lGyNryvyllQcDSnrd7X"},
+            headers={"Authorization": f"Token {self.api_token}"},
             params={
             params={
                 "location": "archive",
                 "location": "archive",
                 "pageCursor": self.cursor,
                 "pageCursor": self.cursor,