Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support leetcode-cn.com #98

Open
liyan-ah opened this issue Apr 17, 2022 · 3 comments
Open

support leetcode-cn.com #98

liyan-ah opened this issue Apr 17, 2022 · 3 comments
Labels
suspend This will not be worked on

Comments

@liyan-ah
Copy link

it's hard to login leetcode.com.
will leetcode.el support leetcode-cn.com in the future?

@Charlie059
Copy link

Same question

1 similar comment
@lemyx
Copy link

lemyx commented May 16, 2023

Same question

@kaiwk
Copy link
Owner

kaiwk commented May 24, 2023

有几个问题需要解决:

  1. 力扣的 cookie 比 leetcode.com 多几个字段
  2. 力扣的 frontend_id 可能是中文或英文字符串,leetcode.com 是数字
  3. 获取 cookie 的域名需要换成 leetcode.cn

我初步尝试了是可以使用 leetcode.cn 的(也许还有我没发现的问题),但我还是不想加,因为增加这个支持需要增加额外的维护成本。

leetcode.el 本来就强依赖 leetcode.cn 和 leetcode.com 的接口,如果以后这两个网站的接口发生变化,我们都要跟着改,甚至可能这两个网站的接口差异越来越大。

@kaiwk kaiwk added the suspend This will not be worked on label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suspend This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants