from datetime import datetime

GAME_VIDEO_BASE_URL = "http://www.nfl.com/feeds-rs/videos/byGameCenter/{0}.json"
LIVE_UPDATE_BASE_URL = "http://www.nfl.com/liveupdate/game-center/{0}/{0}_gtd.json"


class Game(object):

    def __init__(self, id_, h, v):
        self.id_ = id_
        self.date = self.id_[:-2]
        self.home = h
        self.vis = v
        self.latest_play_id = ""
        self.latest_clip_id = ""

    def is_today(self):
        return self.date == str((datetime.today()).strftime('%Y%m%d'))

    def video_url(self):
        return GAME_VIDEO_BASE_URL.format(self.id_)

    def live_update_url(self):
        return LIVE_UPDATE_BASE_URL.format(self.id_)

from datetime import datetime

GAME_VIDEO_BASE_URL = "http://www.nfl.com/feeds-rs/videos/byGameCenter/{0}.json"
LIVE_UPDATE_BASE_URL = "http://www.nfl.com/liveupdate/game-center/{0}/{0}_gtd.json"


class Game(object):

    def __init__(self, id_, h, v):
        self.id_ = id_
        self.date = self.id_[:-2]
        self.home = h
        self.vis = v
        self.latest_play_id = ""
        self.latest_clip_id = ""
        self.videos = {}

    def is_today(self):
        return self.date == str((datetime.today()).strftime('%Y%m%d'))

    def video_url(self):
        return GAME_VIDEO_BASE_URL.format(self.id_)

    def live_update_url(self):
        return LIVE_UPDATE_BASE_URL.format(self.id_)

Add videos dict to Games.
Add videos dict to Games.

  from datetime import datetime
  
  GAME_VIDEO_BASE_URL = "http://www.nfl.com/feeds-rs/videos/byGameCenter/{0}.json"
  LIVE_UPDATE_BASE_URL = "http://www.nfl.com/liveupdate/game-center/{0}/{0}_gtd.json"
  
  
  class Game(object):
  
      def __init__(self, id_, h, v):
          self.id_ = id_
          self.date = self.id_[:-2]
          self.home = h
          self.vis = v
          self.latest_play_id = ""
          self.latest_clip_id = ""
+         self.videos = {}
  
      def is_today(self):
          return self.date == str((datetime.today()).strftime('%Y%m%d'))
  
      def video_url(self):
          return GAME_VIDEO_BASE_URL.format(self.id_)
  
      def live_update_url(self):
          return LIVE_UPDATE_BASE_URL.format(self.id_)
  
Add videos dict to Games.
## Code Before:
from datetime import datetime

GAME_VIDEO_BASE_URL = "http://www.nfl.com/feeds-rs/videos/byGameCenter/{0}.json"
LIVE_UPDATE_BASE_URL = "http://www.nfl.com/liveupdate/game-center/{0}/{0}_gtd.json"


class Game(object):

    def __init__(self, id_, h, v):
        self.id_ = id_
        self.date = self.id_[:-2]
        self.home = h
        self.vis = v
        self.latest_play_id = ""
        self.latest_clip_id = ""

    def is_today(self):
        return self.date == str((datetime.today()).strftime('%Y%m%d'))

    def video_url(self):
        return GAME_VIDEO_BASE_URL.format(self.id_)

    def live_update_url(self):
        return LIVE_UPDATE_BASE_URL.format(self.id_)

## Instruction:
Add videos dict to Games.
## Code After:
from datetime import datetime

GAME_VIDEO_BASE_URL = "http://www.nfl.com/feeds-rs/videos/byGameCenter/{0}.json"
LIVE_UPDATE_BASE_URL = "http://www.nfl.com/liveupdate/game-center/{0}/{0}_gtd.json"


class Game(object):

    def __init__(self, id_, h, v):
        self.id_ = id_
        self.date = self.id_[:-2]
        self.home = h
        self.vis = v
        self.latest_play_id = ""
        self.latest_clip_id = ""
        self.videos = {}

    def is_today(self):
        return self.date == str((datetime.today()).strftime('%Y%m%d'))

    def video_url(self):
        return GAME_VIDEO_BASE_URL.format(self.id_)

    def live_update_url(self):
        return LIVE_UPDATE_BASE_URL.format(self.id_)
