Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
AR: fix 2017 version urls
  • Loading branch information
showerst committed Jan 17, 2017
1 parent cebd4d4 commit 0ff861e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openstates/ar/bills.py
Expand Up @@ -71,9 +71,13 @@ def scrape_bill(self, chamber, session):
primary = row[12]
bill.add_sponsor('primary', primary)

# ftp://www.arkleg.state.ar.us/Bills/
# TODO: Keep on eye on this post 2017 to see if they apply R going forward.
session_code = '2017R' if session == '2017' else session

version_url = ("ftp://www.arkleg.state.ar.us/Bills/"
"%s/Public/%s.pdf" % (
session, bill_id.replace(' ', '')))
session_code, bill_id.replace(' ', '')))
bill.add_version(bill_id, version_url, mimetype='application/pdf')

self.scrape_bill_page(bill)
Expand Down

0 comments on commit 0ff861e

Please sign in to comment.