Skip to content

Commit 8a1c966

Browse files
heehtoyoidc
andauthored
Update Cookie setup due to Chromium configuration update (clearloop#127)
Co-authored-by: Hee Hwang <hwangh@fortinet.com>
1 parent feb84c7 commit 8a1c966

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cargo install leetcode-cli
2222

2323
## Usage
2424

25-
**Make sure you have logged in to `leetcode.com` with `Chrome`**. See [Cookies](#cookies) for why you need to do this first.
25+
**Make sure you have logged in to `leetcode.com` with `Firefox`**. See [Cookies](#cookies) for why you need to do this first.
2626

2727
```sh
2828
leetcode 0.4.0
@@ -168,19 +168,20 @@ csrf = "..."
168168
session = "..."
169169
```
170170

171-
For Example, using Chrome (after logging in to LeetCode):
171+
For Example, using Firefox (after logging in to LeetCode):
172172

173173
#### Step 1
174174

175-
Open Chrome and navigate to the link below:
175+
Open Firefox, press F12, and click `Storage` tab.
176+
177+
#### Step 2
178+
179+
Expand `Cookies` tab on the left and select https://leetcode.com.
176180

177-
```sh
178-
chrome://settings/cookies/detail?site=leetcode.com
179-
```
180181

181182
#### Step 2
182183

183-
Copy `Content` from `LEETCODE_SESSION` and `csrftoken` to `session` and `csrf` in your configuration file, respectively:
184+
Copy `Value` from `LEETCODE_SESSION` and `csrftoken` to `session` and `csrf` in your configuration file, respectively:
184185

185186
```toml
186187
[cookies]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy