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

New Zealand: failing scraper -- protected email addresses #36492

Open
2 tasks
ondenman opened this issue May 25, 2017 · 0 comments
Open
2 tasks

New Zealand: failing scraper -- protected email addresses #36492

ondenman opened this issue May 25, 2017 · 0 comments

Comments

@ondenman
Copy link
Contributor

ondenman commented May 25, 2017

Problem

Some members do not have email addresses. When this is the case, the scraper tries to call .attr('href') on nil.
1e537b797f70304971717a6d5e6e7f6c72777f737b706a307971686a307064
Also, email addresses are now obfuscated and will have to be made human readable.
[email protected]

De-obfuscation is currently being worked on in the Paraguay scraper (everypolitician-scrapers/paraguay-diputados#6). The New Zealand site applies the same obfuscation technique.

Steps required

  • Ensure the scraper doesn't break when a member does not have an email address
  • Capture human readable addresses
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