diff --git a/scrapers/pa/bills.py b/scrapers/pa/bills.py index 270b4b104e..f332af7776 100644 --- a/scrapers/pa/bills.py +++ b/scrapers/pa/bills.py @@ -277,8 +277,8 @@ def parse_votes(self, bill, page): elif "/roll-call-votes/" in url: # As of Nov 2024, this URL in the new site is broken # but works if we add a query param - if "sessyr" not in url: - url = f"{url}&sessyr={self.session_year}" + if "sessyr" not in url.lower(): + url = f"{url}&sessYr={self.session_year}" yield from self.parse_committee_votes(bill, url) else: msg = "Unexpected vote url: %r" % url