Skip to content

Commit

Permalink
Merge pull request #1084 from cliftonmcintosh/nm-session-scraping-new…
Browse files Browse the repository at this point in the history
…-site

NM: use new site for session scraping
  • Loading branch information
Andy Lo committed Apr 8, 2016
2 parents a181f40 + 7f7b881 commit 566e7a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openstates/nm/__init__.py
Expand Up @@ -108,8 +108,9 @@


def session_list():
return url_xpath('http://www.nmlegis.gov/lcs/keyword.aspx',
'//select[@name="ctl00$mainCopy$ddlSessions"]/option/text()')
return url_xpath('http://www.nmlegis.gov:8080/',
'//select[@name="ctl00$MainContent$ddlSessions"]'
'/option/text()')


def extract_text(doc, data):
Expand Down

0 comments on commit 566e7a1

Please sign in to comment.