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

Enhance Error Handling in Web Scraping #1

Open
sriraamav opened this issue Oct 15, 2024 · 0 comments
Open

Enhance Error Handling in Web Scraping #1

sriraamav opened this issue Oct 15, 2024 · 0 comments
Labels

Comments

@sriraamav
Copy link
Collaborator

Description:

The current web scraping logic could fail due to network issues or changes in the structure of the target website. This issue focuses on enhancing error handling mechanisms by adding retry logic, timeouts, and better exception management in the web scraping function.

Tips for the issue:

  • Implement retries with exponential backoff for failed network requests.
  • Ensure that timeout handling is properly configured in the requests library.
  • Log failed scraping attempts for later review.

To do:

  • Ask us to assign the issue.
  • Once the issue is assigned, you can start working on it.
  • Create a PR.

Resource:

  • 'requests' documentation
  • Python 'logging' library

Notes:
The task is assigned on a first-come, first-serve basis, and the contributor must report progress every 3 days to ensure active development.

@sriraamav sriraamav added the easy label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant