-
Notifications
You must be signed in to change notification settings - Fork 31
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
Failed to fetch solution? #3
Comments
Could you describe how the error occurs in detail? It is very difficult for me to figure out why from the error log |
The issue seems to be the following, otherwise its a 404 for /problem/
|
For me it works now with this change, I also changed question_id to Is it working for you at API /problem/ ? |
For the original question,
This happens when there isn't a solution for the problem on LeetCode. Not all problems have an available solution. It would be good to catch the error and print it or at least indicate this in the readme. |
These days I am pretty busy, could you consider opening a PR to fix this issue? Thank you very much for your information. |
I get for almost all problems:
Failed to execute <bound method LeetCodeCrawler.fetch_solution of <crawler.LeetCodeCrawler object at 0x105034550>>, Reason: 'NoneType' object is not subscriptable
Any ideas?
The text was updated successfully, but these errors were encountered: