Skip to content
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

Improved Question Scraping #4

Open
cdkini opened this issue Mar 22, 2021 · 0 comments
Open

Improved Question Scraping #4

cdkini opened this issue Mar 22, 2021 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed python For my Pythonistas!

Comments

@cdkini
Copy link
Owner

cdkini commented Mar 22, 2021

The current method of scraping questions is a bit flawed. Since LeetCode doesn't have a public API, I've copy and pasted the contents of each problem set and then parsed it with Python.

I had initially tried to curl it but it looks like you need authentication to access the pages we need. While the database has all the questions (reducing the need for these scripts), I'd like to improve how this is done to remove unnecessary text files from the codebase.

@cdkini cdkini added help wanted Extra attention is needed good first issue Good for newcomers python For my Pythonistas! labels Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed python For my Pythonistas!
Projects
None yet
Development

No branches or pull requests

1 participant