Skip to content

Cannot read locked problem (premium account) #35

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

Closed
heeh opened this issue May 15, 2021 · 5 comments
Closed

Cannot read locked problem (premium account) #35

heeh opened this issue May 15, 2021 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@heeh
Copy link
Contributor

heeh commented May 15, 2021

Thanks for great work. The program is blazing fast and I like it.
Currently, leetcode-cli cannot retrieve the locked problems for premium account.
Is there a solution for this?

@clearloop
Copy link
Owner

Currently, leetcode-cli cannot retrieve the locked problems for premium accounts.

Sorry, I thought the locked problems will be fetched automatically since you login into leetcode.com with a premium account before.

If somebody wants to implement this, ping me if I can help

@clearloop clearloop added the help wanted Extra attention is needed label May 15, 2021
@Raees678
Copy link
Contributor

Raees678 commented May 15, 2021

I've created a PR for this here: #36 . It adds support for premium Leetcode questions (although I'm not sure how it will behave for users who don't have Leetcode premium).

@heeh
Copy link
Contributor Author

heeh commented May 16, 2021

@Raees678 It just worked! Thank you so much.

@clearloop
Copy link
Owner

clearloop commented May 26, 2021

Hi @heeh, how do you like a flag like -l to show the locked problems for the premium accounts?

Oh, it's my fault, we can list locked problems but can not get/edit them, right? because the current program just deny doing these for all accounts

@clearloop
Copy link
Owner

Merged #36.

Use leetcode-cli v0.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants