Conversation
fix: added some request headers and make it always.
|
I tried it, when submit action is error |
|
I'll add that the proposed solution by @woung717 only works after a user has successfully logged in (have the csrftoken cookie as well as the SESSION_ID cookie set). The no-browser in the middle approach has completely died out imo. A no-browser-cookie login is a valuable way to use leetcode-cli and there seems to have been a recent leetcode backend update that disables the no-browser-cookie approach. Use-case that fails is 3rd party login (via Github for instance) without using cookies from a browser. I can confirm that 3rd party login w/o a browser cookie worked up untill Jan 2024 (and for the past 3 years). Now, the 3rd party login (Github in my case) fails with a 403 due to a cloudflare challenge issue. |
No description provided.