diff --git a/ca_on_kawartha_lakes/people.py b/ca_on_kawartha_lakes/people.py index ad2d33db..1c075f87 100644 --- a/ca_on_kawartha_lakes/people.py +++ b/ca_on_kawartha_lakes/people.py @@ -23,6 +23,9 @@ def scrape(self): name = councillor.text_content().replace("Mayor", "").strip() role = "Mayor" + if "RESIGNED" in name: + continue + info_node = councillor.xpath("./following-sibling::*")[0] email = self.get_email(info_node) phone = self.get_phone(info_node)