Skip to content

Commit

Permalink
Merge pull request #5203 from openstates/nh-bills-fix-resolution-vers…
Browse files Browse the repository at this point in the history
…ion-request

NH: bills: fix broken request for resolution details page
  • Loading branch information
jessemortenson authored Jan 8, 2025
2 parents ac6a201 + 6c1fa10 commit d7db6fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scrapers/nh/bills.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import re
import datetime as dt
from collections import defaultdict

import pytz

import lxml.html
Expand Down Expand Up @@ -136,7 +137,9 @@ def scrape_chamber(self, chamber, session):
# ex: HR 1 is lsr=847 but version id=838
resolution_url = (
"https://www.gencourt.state.nh.us/bill_status/legacy/bs2016/bill_status.aspx?"
+ "lsr={}&sy={}&txtsessionyear={}".format(lsr, session, session)
+ "lsr={}&sy={}&txtsessionyear={}&txtbillnumber={}".format(
lsr, session, session, bill_id
)
)
resolution_page = self.get(
resolution_url, allow_redirects=True
Expand Down

0 comments on commit d7db6fd

Please sign in to comment.