File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff 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 
2828leetcode 0.4.0
@@ -168,19 +168,20 @@ csrf = "..."
168168session  = " ..." 
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 ]
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments