diff --git a/scrapers/wi/bills.py b/scrapers/wi/bills.py index 19d580d2a4..e2d47e5b20 100644 --- a/scrapers/wi/bills.py +++ b/scrapers/wi/bills.py @@ -327,7 +327,7 @@ def add_vote(self, bill, chamber, date, text, url): classification=vtype, bill=bill, ) - v.dedupe_key = url.split("/")[-1] + v.dedupe_key = f'{url.split("/")[-1]}-{bill.identifier}' v.set_count("yes", yes) v.set_count("no", no) diff --git a/scrapers/wi/committees.py b/scrapers/wi/committees.py index 5c22c0daf4..063f42ee76 100644 --- a/scrapers/wi/committees.py +++ b/scrapers/wi/committees.py @@ -37,7 +37,7 @@ def scrape(self, chamber=None, session=None): chambers = [chamber] if chamber is not None else ["upper", "lower"] for chamber in chambers + ["legislature"]: - url = "http://docs.legis.wisconsin.gov/{}/committees/".format( + url = "https://docs.legis.wisconsin.gov/{}/committees/".format( term.split("-")[0] ) if chamber == "legislature": diff --git a/scrapers/wi/events.py b/scrapers/wi/events.py index a0ae6dac0f..d39b960899 100644 --- a/scrapers/wi/events.py +++ b/scrapers/wi/events.py @@ -60,7 +60,7 @@ def scrape(self): event.add_source(url) event.add_source(com_url) - # rename from "Committe Name (Senate)" to "Senate Committee Name" + # rename from "Committee Name (Senate)" to "Senate Committee Name" chamber_regex = r"(.*)\((Senate|Assembly|Joint)\)" if re.match(chamber_regex, title): committee = re.sub(chamber_regex, r"\2 \1", title).strip()