1
0
Fork 0
mirror of synced 2024-06-20 19:30:15 +12:00

Fix readwise token

Accidentally shipped this hard-coded. Token is long-size revoked,
but obviously hard to use this way!
This commit is contained in:
mAAdhaTTah 2023-10-29 17:27:04 -04:00
parent 720061185c
commit 18e89bee3d
No known key found for this signature in database

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,