Skip to content

Add pagination to the Readwise script#6

Open
gavinmn wants to merge 2 commits intotanainc:mainfrom
gavinmn:main
Open

Add pagination to the Readwise script#6
gavinmn wants to merge 2 commits intotanainc:mainfrom
gavinmn:main

Conversation

@gavinmn
Copy link

@gavinmn gavinmn commented Dec 22, 2022

The current implementation of the Readwise script ignores the pageCursor parameter to paginate through all of a users highlights. This was causing an initial import to skip pulling highlights after 1000. I added in a while loop to paginate through all of a users highlights in the requested date range to make an initial import that has > 1000 highlights possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant