Skip to content

Commit

Permalink
adjust documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jckleiner committed Feb 9, 2023
1 parent 95eda48 commit fc50c6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
> `token_v2`.
>
> To solve this new limitation, you need to copy the value of the `token_v2` cookie manually (see [How do I find
> all these values?](./documentation/setup.md) for more info). This means if you
> log out from that account then your token won't be valid anymore. You will have to log in and fetch the token
> again.
> all these values?](./documentation/setup.md) for more info).

Automatically backup your Notion workspace to Google Drive, Dropbox, pCloud, Nextcloud or to your local machine.
Expand Down
5 changes: 3 additions & 2 deletions documentation/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
![testImage](../images/notion-search-request.png)

5. Go to **cookies tab** of that same requests and find the `token_v2` cookie. Paste it in your `.env` file as the value
for `NOTION_TOKEN_V2`. Note that this token is expires after a year but if you log out manually then this token
won't be valid anymore! Which means you will have to log in again and extract the value of a new `token_v2` cookie.
for `NOTION_TOKEN_V2`. This token (expires after one year and) is valid as long as you don't log out over the
web-UI. Meaning that you can use it in this tool as long as you don't log out. If you do log out (or if the token
expires after one year) then you need to log in again and fetch a new `token_v2` value.

### Dropbox

Expand Down

0 comments on commit fc50c6a

Please sign in to comment.