Skip to content

Commit

Permalink
MI: Adjusted for change in heading markup for committee pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Lo committed Jul 19, 2016
1 parent 858f572 commit 5368d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstates/mi/committees.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def scrape_senate_committee(self, url):
html = self.get(url).text
doc = lxml.html.fromstring(html)

name = doc.xpath('//h3/text()')[0]
name = doc.xpath('//div[@id="committeeleft"]//h2[1]/text()')[0]
name = name.replace(' Committee', '')

com = Committee(chamber='upper', committee=name)
Expand Down

0 comments on commit 5368d60

Please sign in to comment.