Skip to content

Commit

Permalink
Merge pull request #4932 from NewAgeAirbender/master
Browse files Browse the repository at this point in the history
NJ: Fix Vote URL
  • Loading branch information
NewAgeAirbender authored Apr 26, 2024
2 parents 05ab7f9 + fff8655 commit d44b987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scrapers/nj/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def scrape_bills(self, session, year_abr):
votes = {}

for filename in vote_info_list:
s_vote_url = f"https://www.njleg.state.nj.us/votes/{filename}.zip"
s_vote_url = f"https://pub.njleg.state.nj.us/votes/{filename}.zip"
try:
s_vote_zip, resp = self.urlretrieve(s_vote_url)
except scrapelib.HTTPError:
Expand Down Expand Up @@ -488,7 +488,7 @@ def scrape_bills(self, session, year_abr):
# Regular vote.
vote.result = "pass" if counts["yes"] > counts["no"] else "fail"

vote.add_source("http://www.njleg.state.nj.us/downloads.asp")
vote.add_source("https://www.njleg.state.nj.us/downloads.asp")
yield vote

# Actions
Expand Down Expand Up @@ -544,7 +544,7 @@ def scrape_bills(self, session, year_abr):
self.warning("probable phony bill detected %s", bill.identifier)
phony_bill_count += 1
else:
bill.add_source("http://www.njleg.state.nj.us/downloads.asp")
bill.add_source("https://www.njleg.state.nj.us/downloads.asp")
yield bill

if phony_bill_count:
Expand Down

0 comments on commit d44b987

Please sign in to comment.