def get_session_list(self): # doesn't include current session, we need to change it sessions = url_xpath('http://www.capitol.hawaii.gov/archives/main.aspx', "//div[@class='roundedrect gradientgray shadow']/a/text()" ) sessions.remove("Archives Main") return sessions
def get_session_list(self): from openstates.utils.lxmlize import url_xpath # This is the URL that populates the session `<select>` in the # state homepage header navigation return url_xpath( 'https://www.ncleg.net/webservices/api/sessionselectlist/false', '//option/text()')
def get_session_list(self): # doesn't include current session, we need to change it sessions = url_xpath( 'http://www.capitol.hawaii.gov/archives/main.aspx', "//div[@class='roundedrect gradientgray shadow']/a/text()") sessions.remove("Archives Main") return sessions
def get_session_list(self): return url_xpath('https://legislature.idaho.gov/sessioninfo/', '//select[@id="ddlsessions"]/option/text()')
def get_session_list(self): from openstates.utils.lxmlize import url_xpath return url_xpath('http://leg.mt.gov/css/bills/Default.asp', "//td[@id='cont']/ul/li/a/text()")
def get_session_list(self): return url_xpath('https://legislature.idaho.gov/sessioninfo/', '//select[@id="ddlsessions"]/option/text()')
def get_session_list(self): from openstates.utils.lxmlize import url_xpath return url_xpath('http://www.ncleg.net', '//select[@name="sSession"]/option/text()')
def get_session_list(self): from openstates.utils.lxmlize import url_xpath return url_xpath('http://leg.mt.gov/css/bills/Default.asp', "//td[@id='cont']/ul/li/a/text()")
def get_session_list(self): return url_xpath('http://laws.leg.mt.gov/legprd/LAW0200W$.Startup', '//select[@name="P_SESS"]/option/@value')
def get_session_list(self): from openstates.utils.lxmlize import url_xpath # This is the URL that populates the session `<select>` in the # state homepage header navigation return url_xpath('https://webservices.ncleg.net/sessionselectlist/false', '//option/text()')
def get_session_list(self): from openstates.utils.lxmlize import url_xpath return url_xpath('http://www.ncleg.net', '//select[@name="sessionToSearch"]/option/text()')
def get_session_list(self): sessions = url_xpath('https://legislature.idaho.gov/sessioninfo/', '//select[@id="ddlsessions"]/option/text()', verify=False) print('GOT IT') return sessions