code: def load_cookies(self, ignore_discard=True, ignore_expires=True):
          
          self._init_cookies()
          if os.path.exists(self.cookies.filename):
              self.cookies.load(ignore_discard=ignore_discard,
                                ignore_expires=ignore_expires)
              self._reset_cache()
docs: Load cookies from the file :attr:`.API.cookies_filename`