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

MN: avoid Senate server weird HTTP errors by url rewrite #5102

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

jessemortenson
Copy link
Contributor

Scrapes consistently failing for a few days on fetching HTML text of Senate resolutions, errors like:

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='1318032-www.senate.mn.senate.mn', port=443): Max retries exceeded with url: /resolutions/display_resolution.php?ls=93&bill_type=SC&bill_number=9&ss_number=0&ss_year=2024 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5de9e2400>: Failed to establish a new connection: [Errno -2] Name or service not known'))

@jessemortenson jessemortenson merged commit e19511b into main Nov 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant