def _find_games(self, week, year, end_week):
if not end_week or week > end_week:<EOL><INDENT>end_week = week<EOL><DEDENT>while week <= end_week:<EOL><INDENT>url = self._create_url(week, year)<EOL>page = self._get_requested_page(url)<EOL>games = page('<STR_LIT>').items()<EOL>boxscores = self._extract_game_info(games)<EOL>timestamp = '<STR_LIT>' % (week, year)<EOL>self._boxscores[timestamp] = boxscores<EOL>week += <NUM_LIT:1><EOL><DEDENT>
Retrieve all major games played for a given week.

Builds a URL based on the requested date and downloads the HTML
contents before parsing any and all games played during that week. Any
games that are found are added to the boxscores dictionary with
high-level game information such as the home and away team names and a
link to the boxscore page.

Parameters
----------
week : int
    The week number to pull games from.
year : int
    The 4-digit year to pull games from.
end_week : int (optional)
    Optionally specify an end week to iterate until. All boxscores
    starting from the week specified in the 'week' parameter up to and
    including the boxscores specified in the 'end_week' parameter will
    be pulled. If left empty, or if 'end_week' is prior to 'week', only
    the games from the day specified in the 'date' parameter will be
    saved.