clearloop / leetcode-cli

May the code be with you 👻
MIT License
308 stars 49 forks source link

Feat: support leetcode.cn #158

Closed magicwenli closed 3 weeks ago

magicwenli commented 3 weeks ago

fix https://github.com/clearloop/leetcode-cli/issues/107

This PR add a config entry site to configure which leetcode site to use.

[cookies]
csrf = ""
session = ""
site = "leetcode.cn"

Acceptable value is leetcode.com or leetcode.cn. And leetcode.com is default.

magicwenli commented 3 weeks ago

This PR is not ready to merge

magicwenli commented 3 weeks ago

This PR is ready to merge