Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Mar 11, 2024
1 parent d2bba14 commit 391bce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,15 +302,15 @@ There are three ways to make cookies available to `leetgo`:

- Provide cookies.

You can get your cookies named `LEETCODE_SESSION` and `csrftoken` from browser's developer tools, and set the `LEETCODE_SESSION` and `LEETCODE_CSRFTOKEN` environment variables.
You can get your cookies named `LEETCODE_SESSION` and `csrftoken` from browser's developer tools, and set the `LEETCODE_SESSION` and `LEETCODE_CSRFTOKEN` environment variables. If you are using `leetcode.com`, `LEETCODE_CFCLEARANCE` should also be set to the value of the `cf_clearance` cookie.

```yaml
leetcode:
credentials:
from: cookies
```

- Provide username and password through `LEETCODE_USERNAME` and `LEETCODE_PASSWORD` environment variables. If you are using `leetcode.com`, `LEETCODE_CFCLEARANCE` should also be set to the value of the `cf_clearance` cookie.
- Provide username and password through `LEETCODE_USERNAME` and `LEETCODE_PASSWORD` environment variables.

```yaml
leetcode:
Expand Down

0 comments on commit 391bce8

Please sign in to comment.