def fetch_entries(self):
data = []<EOL>for row in self.get_rows():<EOL><INDENT>if exceeded_limit(self.limit, len(data)):<EOL><INDENT>break<EOL><DEDENT>entry = row.find_all('<STR_LIT>')<EOL>entry_dict = {}<EOL>show = entry[<NUM_LIT:0>].string<EOL>net = entry[<NUM_LIT:1>].string<EOL>if not self._match_query(show, net):<EOL><INDENT>continue<EOL><DEDENT>entry_dict['<STR_LIT>'] = show<EOL>entry_dict['<STR_LIT>'] = net<EOL>entry_dict['<STR_LIT:time>'] = entry[<NUM_LIT:2>].string<EOL>if '<STR_LIT:U+002C>' in entry[<NUM_LIT:3>].string:<EOL><INDENT>entry_dict['<STR_LIT>'] = entry[<NUM_LIT:3>].string.replace('<STR_LIT:U+002C>', '<STR_LIT:.>')<EOL><DEDENT>else:<EOL><INDENT>entry_dict['<STR_LIT>'] = '<STR_LIT>' + entry[<NUM_LIT:3>].string<EOL><DEDENT>entry_dict['<STR_LIT>'] = entry[<NUM_LIT:4>].string<EOL>data.append(Entry(**entry_dict))<EOL><DEDENT>return data<EOL>
Fetch data and parse it to build a list of cable entries.