Permalink
Browse files

Merge pull request #1267 from openstates/tim/id/2017versions

ID: Add missing bill versions and documents
  • Loading branch information...
2 parents 4909762 + 53397af commit 6d5f63f7fd1c68102e11ee9b59b16ded31102564 @jamesturk jamesturk committed on GitHub Jan 17, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 openstates/id/bills.py
@@ -202,7 +202,7 @@ def scrape_bill(self, chamber, session, bill_id, short_title=None):
bill.add_title(short_title)
# documents
- doc_links = html.xpath('//span/a')
+ doc_links = html.xpath('//div[contains(@class,"pf-content")]//a')
for link in doc_links:
name = link.text_content().strip()
href = link.get('href')

0 comments on commit 6d5f63f

Please sign in to comment.