code: def load_config(self, config):
          
  
          self.config = copy_config(config, self.mutable_config_keys)
          if 'cookiejar_cookies' in config['state']:
              self.cookies = CookieManager.from_cookie_list(
                  config['state']['cookiejar_cookies'])
docs: Configure grab instance with external config object.