diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-06-21 05:45:09 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-06-21 09:21:21 +0530 |
commit | 84078a8b38f403495d00b46654c8750774d821de (patch) | |
tree | 6a158f5adaf417f73f13a15c6040d81d939744ba | |
parent | ad54c9130e793ce433bf9da334fa80df9f3aee58 (diff) | |
download | hypervideo-pre-84078a8b38f403495d00b46654c8750774d821de.tar.lz hypervideo-pre-84078a8b38f403495d00b46654c8750774d821de.tar.xz hypervideo-pre-84078a8b38f403495d00b46654c8750774d821de.zip |
[core] Fix `filepath` being copied to underlying format dict
Closes #6536
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 7a5e59323..503aafbc7 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3212,6 +3212,8 @@ class YoutubeDL: dl_filename = existing_video_file(full_filename, temp_filename) info_dict['__real_download'] = False + # NOTE: Copy so that original format dicts are not modified + info_dict['requested_formats'] = list(map(dict, info_dict['requested_formats'])) merger = FFmpegMergerPP(self) downloaded = [] |