def fetch_result(self):
results = self.soup.find_all('<STR_LIT>', {'<STR_LIT:class>': '<STR_LIT>'})<EOL>href = None<EOL>is_match = False<EOL>i = <NUM_LIT:0><EOL>while i < len(results) and not is_match:<EOL><INDENT>result = results[i]<EOL>anchor = result.find('<STR_LIT:a>', {'<STR_LIT>': '<STR_LIT>'})<EOL>is_match = self._filter_results(result, anchor)<EOL>href = anchor['<STR_LIT>']<EOL>i += <NUM_LIT:1><EOL><DEDENT>try:<EOL><INDENT>page = get_soup(href)<EOL><DEDENT>except (Exception):<EOL><INDENT>page = None<EOL><DEDENT>if href and page:<EOL><INDENT>return page<EOL><DEDENT>else:<EOL><INDENT>raise PageNotFoundError(PAGE_ERROR)<EOL><DEDENT>
Return a list of urls for each search result.