code: def load(self):
          
          if self.r.live:
              self.extra_config['collections'] = {'live':
                      {'index': '$live'}}
  
          if self.r.debug:
              self.extra_config['debug'] = True
  
          if self.r.record:
              self.extra_config['recorder'] = 'live'
docs: This method is called to load the application. Subclasses must return a application
          that can be used by used by pywb.utils.geventserver.GeventServer.