Skip to content

[Bug] FATA failed to get question data: no cookie found in browser #193

@zrcoder

Description

@zrcoder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededwindowsWindows specific issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions