Skip to content

Commit

Permalink
Merge pull request #4919 from NewAgeAirbender/ct_bills
Browse files Browse the repository at this point in the history
CT: add dedupe key to vote with url
  • Loading branch information
NewAgeAirbender authored Apr 15, 2024
2 parents 444e5c7 + 3aa6cbc commit b6161f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scrapers/ct/votes.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def parse_vote(self, url, session, vote_chamber):
vote.set_count("no", no_count)
vote.set_count("absent", other_count)
vote.add_source(url)
vote.dedupe_key = url

for voter in voters:
name = string.capwords(voter["name"])
Expand Down

0 comments on commit b6161f1

Please sign in to comment.