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

bug: when get problem, return 403 error #148

Closed
ben1009 opened this issue Mar 25, 2024 · 0 comments · Fixed by #178
Closed

bug: when get problem, return 403 error #148

ben1009 opened this issue Mar 25, 2024 · 0 comments · Fixed by #178

Comments

@ben1009
Copy link
Owner

ben1009 commented Mar 25, 2024

when run cargo r xx_id
return 
getting all problems ...
[src/fetcher.rs:118:5] &res = Response {
    url: "https://leetcode.com/api/problems/algorithms",
    status: 403,

thread 'main' panicked at src/fetcher.rs:119:16:
called `Result::unwrap()` on an `Err` value: Error(Json(Error("expected value", line: 1, column: 1)))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

refer to: skygragon/leetcode-cli#194 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant