Skip to content

Commit

Permalink
IA: Bills: SSB/HSB: Slightly different format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Tagliamonte committed Mar 5, 2013
1 parent 2150682 commit 32e4646
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openstates/ia/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ def scrape_bill(self, chamber, session, bill_id, url):
self.warning("URL: %s gives us an *EMPTY* bill. Aborting." % url)
return

if title.lower().startswith("in"):
title = page.xpath("string(//table[2]/tr[3])").strip()

if 'HR' in bill_id or 'SR' in bill_id:
bill_type = ['resolution']
elif 'HJR' in bill_id or 'SJR' in bill_id:
Expand Down

0 comments on commit 32e4646

Please sign in to comment.