def fetch_entries(self):
current_time = '<STR_LIT>'<EOL>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_time = entry[<NUM_LIT:0>].string<EOL>if show_time and show_time != current_time:<EOL><INDENT>current_time = show_time<EOL><DEDENT>if not show_time:<EOL><INDENT>show_time = current_time<EOL><DEDENT>entry_dict['<STR_LIT:time>'] = show_time<EOL>show_string = entry[<NUM_LIT:1>].string.split('<STR_LIT:(>')<EOL>show = show_string[<NUM_LIT:0>][:-<NUM_LIT:1>]<EOL>net = self._get_net(show_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>'] = entry[<NUM_LIT:3>].string.strip('<STR_LIT:*>')<EOL>entry_dict['<STR_LIT>'], entry_dict['<STR_LIT>'] = self._get_rating(entry)<EOL>data.append(Entry(**entry_dict))<EOL><DEDENT>return data<EOL>
Fetch data and parse it to build a list of broadcast entries.