ianding1 / leetcode.vim

Solve LeetCode problems in Vim!
MIT License
308 stars 43 forks source link

Leetcode session cookie not found. Please login in browser. #40

Open roachsinai opened 4 years ago

roachsinai commented 4 years ago

Login in leetcode.cn both firefox and chromium. Tried set g:leetcode_browser both firefox and chromium, always get the info Leetcode session cookie not found. Please login in browser. when try to signin.

roachsinai commented 4 years ago

Login leetcode.com and let g:leetcode_browser = firefox get error:

cannot get the progress
cannot get progress. Please relogin in your browser.
SpringHan commented 4 years ago

You should set the browser by let g:leetcode_browser = 'firefox'.Because the value is a string!

roachsinai commented 4 years ago

@SpringHan Thanks for your reply! My setting is exactly: let g:leetcode_browser = 'firefox'. Sorry for my typo here!

roachsinai commented 4 years ago

image

And had login leetcode on firefox.

SpringHan commented 4 years ago

Oh,I know.And I also met the problem.I think maybe the dependence is wrong or the source codes can't use now.

aap01 commented 1 year ago

I am having the same issue M1 mac

Tried firefox and chrome

aap01 commented 1 year ago

@roachsinai

I had this issue for a while and finally solved it
steps:

  1. Login with email & password in leetcode(avoid login with google or anyother social site in leetcode)
  2. Setup let g:leetcode_browser = 'chrome'

Here is the output

image