Ejemplo n.º 1
0
 def get_case_details_by_number(self,
                                fips_code,
                                case_type,
                                case_number,
                                case_details_url=None):
     self.manage_opener()
     self.change_court(fips_code, case_type)
     sleep(1)
     search_division = 'T'
     if case_type == 'civil':
         search_division = 'V'
     soup = self.opener.do_case_number_search(fips_code, case_number, search_division) \
         if case_details_url is None else self.opener.open_case_details(case_details_url)
     return districtcourtparser.parse_case_details(soup, case_type)
Ejemplo n.º 2
0
 def get_case_details(self, case):
     sleep(1)
     soup = self.opener.open_case_details(case)
     return districtcourtparser.parse_case_details(soup)
Ejemplo n.º 3
0
 def get_case_details(self, case):
     self.manage_opener()
     sleep(1)
     soup = self.opener.open_case_details(case)
     return districtcourtparser.parse_case_details(soup, None)
Ejemplo n.º 4
0
 def get_case_details(self, case):
     sleep(1)
     soup = self.opener.open_case_details(case)
     return districtcourtparser.parse_case_details(soup)
Ejemplo n.º 5
0
 def get_case_details_by_number(self, fips_code, case_type, case_number, case_details_url=None):
     self.change_court(fips_code)
     sleep(1)
     soup = self.opener.do_case_number_search(fips_code, case_number) \
         if case_details_url is None else self.opener.open_case_details(case_details_url)
     return districtcourtparser.parse_case_details(soup)