Skip to content

Commit

Permalink
Removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
samJMA committed Nov 20, 2024
1 parent 42571bd commit d3894c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ca_qc_kirkland/people.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

class KirklandPersonScraper(CanadianScraper):
def scrape(self):
page = self.lxmlize(COUNCIL_PAGE)

# councillors = page.xpath('//div[@id="PageContent"]/table/tbody/tr/td')
page = self.lxmlize(COUNCIL_PAGE, "iso-8859-1")
councillors = page.xpath('//table/tbody[not(@id)]/tr/td[@valign="top"]')
assert len(councillors), "No councillors found"
for councillor in councillors:
Expand Down

0 comments on commit d3894c4

Please sign in to comment.