Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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()')
Ejemplo n.º 3
0
 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
Ejemplo n.º 4
0
 def get_session_list(self):
     return url_xpath('https://legislature.idaho.gov/sessioninfo/',
                      '//select[@id="ddlsessions"]/option/text()')
Ejemplo n.º 5
0
 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()")
Ejemplo n.º 6
0
 def get_session_list(self):
     return url_xpath('https://legislature.idaho.gov/sessioninfo/',
                      '//select[@id="ddlsessions"]/option/text()')
Ejemplo n.º 7
0
 def get_session_list(self):
     from openstates.utils.lxmlize import url_xpath
     return url_xpath('http://www.ncleg.net',
                      '//select[@name="sSession"]/option/text()')
Ejemplo n.º 8
0
 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()")
Ejemplo n.º 9
0
 def get_session_list(self):
     return url_xpath('http://laws.leg.mt.gov/legprd/LAW0200W$.Startup',
                      '//select[@name="P_SESS"]/option/@value')
Ejemplo n.º 10
0
 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()')
Ejemplo n.º 11
0
 def get_session_list(self):
     from openstates.utils.lxmlize import url_xpath
     return url_xpath('http://www.ncleg.net',
                      '//select[@name="sessionToSearch"]/option/text()')
Ejemplo n.º 12
0
 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