def __init__(self, **kwargs):
<EOL>for attr in ["<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>key = kwargs.get(attr)<EOL>if key is not None and not isinstance(key, list):<EOL><INDENT>kwargs[attr] = [key]<EOL><DEDENT><DEDENT>self.__dict__.update(kwargs)<EOL>self.date = convert_string(self.date)<EOL>self.date_obj = convert_date(self.date)<EOL>self.weekday = get_day(self.date_obj)<EOL>self.soup = self._get_ratings_page()<EOL>self.next_week = next_week(self.date_obj)<EOL>self.last_week = last_week(self.date_obj)<EOL>if self._verify_page():<EOL><INDENT>self.entries = self.fetch_entries()<EOL><DEDENT>else:<EOL><INDENT>raise PageNotFoundError(PAGE_ERROR)<EOL><DEDENT>
Main parent class for fetching entries from a ratings chart.

        :param category: cable, final, or tv (non-final broadcast)
        :param show: Will only fetch data of a specific show.
        :param network: Will only fetch data of a specific network.
        :param limit: Will stop fetching data once the limit has been reached.
        :param date: Default - yesterday's date.