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

Refactor and Optimize Async Devfolio Scrapper #52

Closed
KavyaMalviya56 opened this issue Oct 31, 2023 · 1 comment
Closed

Refactor and Optimize Async Devfolio Scrapper #52

KavyaMalviya56 opened this issue Oct 31, 2023 · 1 comment
Assignees

Comments

@KavyaMalviya56
Copy link
Contributor

Description:
The current async event scraper code could benefit from refactoring and optimization for better readability and efficiency. Additionally, the code should be organized into a class and incorporate configuration from environment variables.

Tasks:

Refactor the code into a class, encapsulating the related functionality.
Improve code readability by following PEP 8 style guidelines.
Make the MongoDB URI, database name, and endpoint URL configurable as class attributes.
Implement better exception handling for network requests and validation.
Organize the code into distinct methods for easier maintenance.
Add comments to explain the purpose of each method and attribute.

@anupammaurya6767 assign me this issue under hacktoberfest

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

2 participants