code: def init_recorder(self, recorder_config):
          
          if not recorder_config:
              self.recorder = None
              self.recorder_path = None
              return
  
          if isinstance(recorder_config, str):
              recorder_coll = recorder_config
              recorder_config = {}
          else:
              recorder_coll = recorder_config['source_coll']
  
          # TODO: support dedup
          dedup_index = None
          warc_writer = MultiFileWARCWriter(self.warcserver.archive_paths,
                                            max_size=int(recorder_config.get('rollover_size', 1000000000)),
                                            max_idle_secs=int(recorder_config.get('rollover_idle_secs', 600)),
                                            filename_template=recorder_config.get('filename_template'),
                                            dedup_index=dedup_index)
  
          self.recorder = RecorderApp(self.RECORD_SERVER % str(self.warcserver_server.port), warc_writer,
                                      accept_colls=recorder_config.get('source_filter'))
  
  
          recorder_server = GeventServer(self.recorder, port=0)
  
          self.recorder_path = self.RECORD_API % (recorder_server.port, recorder_coll)
docs: Initialize the recording functionality of pywb. If recording_config is None this function is a no op