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

Smarter scraper that commits "diffs" to the database #268

Open
ericyoondotcom opened this issue Jul 17, 2024 · 0 comments
Open

Smarter scraper that commits "diffs" to the database #268

ericyoondotcom opened this issue Jul 17, 2024 · 0 comments

Comments

@ericyoondotcom
Copy link
Contributor

Right now, every time the scraper is run, the entire database is wiped, and recreated from scratch.

In the unlikely chance that the scraper misses a user for some reason, that user is completely deleted from the database.

Scraper should be more intelligent about this.

  • If a user is added, add the user.
  • If a user is deleted—and not simply missing because of an HTTP or parsing error—remove them.
  • Same with individual user data points.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant