1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-12 09:34:50 +02:00

Merge pull request #1259 from mAAdhaTTah/fix-readwise-token

This commit is contained in:
Nick Sweeting
2023-10-30 11:59:08 -07:00
committed by GitHub

View File

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