From ef32cde10cfb72067b1f53d1e6fc80316896b020 Mon Sep 17 00:00:00 2001 From: Jesse Mortenson Date: Fri, 15 Nov 2024 11:24:35 -0600 Subject: [PATCH] PA: add comment explaining committee vote URL modifier --- scrapers/pa/bills.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scrapers/pa/bills.py b/scrapers/pa/bills.py index eb5836dbe9..270b4b104e 100644 --- a/scrapers/pa/bills.py +++ b/scrapers/pa/bills.py @@ -275,13 +275,8 @@ def parse_votes(self, bill, page): if "/roll-calls/" in url: yield from self.parse_chamber_votes(bill, url) elif "/roll-call-votes/" in url: - # TODO remove log message and uncomment self.parse_committee_votes() - # when committee vote URLs work again, for example: - # https://www.palegis.us/house/committees/roll-call-votes/vote-summary?committeecode=59&rollcallid=1 - # self.logger.warning( - # "Temporarily disabling committee vote ingestion " - # "due to systemic 500 HTTP errors" - # ) + # 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}" yield from self.parse_committee_votes(bill, url)