Closed Tayomide closed 10 months ago
Wow this is awesome, you're one of the 500 iq people. I'll mess around with this for a bit. If it works I'll merge. Also side note, in the future I'll probably still use those blind75 and neetcode150 JSON files in the future when users can select their problem set unless you figure out a way to filter problems based on those sets with the api. Since a lot of people would appreciate only working on those helpful problem sets.
Thanks!
Here's how I got the query
I pulled up the console drawer (Ctrl + Shift + i)-> Navigated to the Network tab -> Typed "graphql" in the "filter" search bar -> Reloaded
I got all the requests Leetcode sent using that. All I did after that was check which response I needed and then navigate to the payload tab to get the query
Move to the next question if current content is paywalled
More logic could be added to prevent this for users that paid for Leetcode premium