Verification steps
leetgo config
language: zh
code:
lang: go
leetcode:
site: https://leetcode.cn
# credentials:
# from: browser
#editor:
# use: none
Debug log
2023/06/08 09:39:49 DEBU cache loaded path=/Users/ding/.config/leetgo/cache/leetcode-questions.db time="962.899µs"
2023/06/08 09:39:49 INFO reading cookies from browser domain=leetcode.cn
2023/06/08 09:39:49 DEBU finished read cookies from browser elapsed=9.75268ms
2023/06/08 09:39:49 FATA failed to get question data: no cookie found in browser
Description
I have already login in browser, but the cli cannot get cookie.
The bug both appears on leetcode.cn and leetcode.com
Steps
go install github.com/j178/leetgo@latest
mkdir demo
cd demo
leetgo init -t cn -l go
leetgo pick 1
Verification steps
leetgo config
Debug log
Description
I have already login in browser, but the cli cannot get cookie.
The bug both appears on leetcode.cn and leetcode.com
Steps
go install github.com/j178/leetgo@latest mkdir demo cd demo leetgo init -t cn -l go leetgo pick 1