LeetScrape icon indicating copy to clipboard operation
LeetScrape copied to clipboard

Fixed the JSONDecodeError

Open eugenebaraka opened this issue 9 months ago • 0 comments

It seems there may be limited access to the https://leetcode.com/api/problems/all/ endpoint at the moment. Able to see the JSON in the browser but not able to access it using the requests package. Downloaded it manually and used error handling to use the downloaded file in case of this error

Also fixed cases where there was no code stub for a problem by error handling

eugenebaraka avatar May 29 '24 03:05 eugenebaraka