LeetScrape
LeetScrape copied to clipboard
Fixed the JSONDecodeError
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