diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-07-22 09:08:12 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-07-22 09:09:52 +0530 |
commit | 62b5c94cadaa5f596dc1a7083db9db12efe357be (patch) | |
tree | 4a1035e30da1d88345252118b5f4083284775833 /yt_dlp/downloader/external.py | |
parent | e0c4db04dc82a699bdabd9821ddc239ebe17d30a (diff) | |
download | hypervideo-pre-62b5c94cadaa5f596dc1a7083db9db12efe357be.tar.lz hypervideo-pre-62b5c94cadaa5f596dc1a7083db9db12efe357be.tar.xz hypervideo-pre-62b5c94cadaa5f596dc1a7083db9db12efe357be.zip |
[cleanup] Misc fixes
Closes #7528
Diffstat (limited to 'yt_dlp/downloader/external.py')
-rw-r--r-- | yt_dlp/downloader/external.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py index d3c3eba88..4ce8a3bf7 100644 --- a/yt_dlp/downloader/external.py +++ b/yt_dlp/downloader/external.py @@ -137,7 +137,7 @@ class ExternalFD(FragmentFD): self._cookies_tempfile = tmp_cookies.name self.to_screen(f'[download] Writing temporary cookies file to "{self._cookies_tempfile}"') # real_download resets _cookies_tempfile; if it's None then save() will write to cookiejar.filename - self.ydl.cookiejar.save(self._cookies_tempfile, ignore_discard=True, ignore_expires=True) + self.ydl.cookiejar.save(self._cookies_tempfile) return self.ydl.cookiejar.filename or self._cookies_tempfile def _call_downloader(self, tmpfilename, info_dict): |