Beispiel #1
0
 def get_session_list(self):
     import re
     return [
         re.sub(r'(\xa0|\(click to close\)|\(click to open\))', '',
                x.text_content())
         for x in url_xpath('http://www.leg.state.nv.us/Session/',
                            '//*[@class="MainHeading"]')
     ]
Beispiel #2
0
    def get_session_list(self):
        from 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()"
        )
Beispiel #3
0
    def get_session_list(self):
        from utils.lxmlize import url_xpath

        return url_xpath(
            "https://apps.leg.wa.gov/billinfo/",
            '//select[@id="biennia"]/option/@value',
            verify=False,
        )
Beispiel #4
0
    def get_session_list(self):
        from utils.lxmlize import url_xpath

        return set([
            x.strip() for x in url_xpath(
                "https://search.cga.state.ct.us/r/basic/Fbuttons.asp",
                "//select[@name='which_year']/option/text()",
            )
        ])
Beispiel #5
0
 def get_session_list(self):
     return url_xpath(
         'https://www.leg.state.nv.us/Session/',
         '//div[contains(@class, "list-group-item-heading")]/text()')
Beispiel #6
0
 def get_session_list(self):
     from utils.lxmlize import url_xpath
     return url_xpath(
         'http://apps.leg.wa.gov/billinfo/',
         '//select[starts-with(@id, "ctl00_ContentPlaceHolder'
         '1_biennia")]/option/@value')
Beispiel #7
0
 def get_session_list(self):
     import re
     return [re.sub(r'(\xa0|\(click to close\)|\(click to open\))', '', x.text_content())
             for x in url_xpath('http://www.leg.state.nv.us/Session/',
                                '//*[@class="MainHeading"]')]
Beispiel #8
0
 def get_session_list(self):
     from utils.lxmlize import url_xpath
     return url_xpath('http://apps.leg.wa.gov/billinfo/',
                      '//select[@id="biennia"]/option/@value')
Beispiel #9
0
 def get_session_list(self):
     from utils.lxmlize import url_xpath
     return url_xpath('http://apps.leg.wa.gov/billinfo/',
                      '//select[starts-with(@id, "ctl00_ContentPlaceHolder'
                      '1_biennia")]/option/@value')
Beispiel #10
0
 def get_session_list(self):
     from utils.lxmlize import url_xpath
     return url_xpath('http://apps.leg.wa.gov/billinfo/',
                      '//select[@id="biennia"]/option/@value')
Beispiel #11
0
 def get_session_list(self):
     return url_xpath(
         'https://www.leg.state.nv.us/Session/',
         '//div[contains(@class, "list-group-item-heading")]/text()')