opencivicdata / scrapers-ca

Canadian legislative scrapers
MIT License
29 stars 25 forks source link

fix(ca_pe_summerside): Refactor scraper for new site #423

Closed rafe-murray closed 1 week ago

rafe-murray commented 1 week ago

One of the emails threw an error when using the get_email method because for some reason cloudflare didn't add the usual encoded email to the href attribute. I've added a workaround for this PR since it seems like a one-off occurrence, but I could make another PR to make the method more robust.