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

Add support for cloudflare obfuscated emails in get_email method #395

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

rafe-murray
Copy link
Contributor

A number of municipal sites use cloudflare to obfuscate their emails. This means that if you want to get their emails you have to write custom code each time. However, they use a consistent function to do this obfuscation. This PR changes the get_email method to also scrape cloudflare protected emails and decode them. Several other scrapers are updated to make use of this change, simplifying their code significantly.

@jpmckinney jpmckinney merged commit 0bfd276 into opencivicdata:master Jun 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants