diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-11-08 00:25:25 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-11-08 00:26:08 +0530 |
commit | a49891c761a61420b3bcace1f38e85279e615f08 (patch) | |
tree | 178d193d069533ad0fb7ec01ac1a9b728295a272 | |
parent | 582fad70f547b7008495400b38c8b32c3412cd27 (diff) | |
download | hypervideo-pre-a49891c761a61420b3bcace1f38e85279e615f08.tar.lz hypervideo-pre-a49891c761a61420b3bcace1f38e85279e615f08.tar.xz hypervideo-pre-a49891c761a61420b3bcace1f38e85279e615f08.zip |
Fix bug in `--load-infojson` of playlists
Fixes: https://github.com/yt-dlp/yt-dlp/issues/1514#issuecomment-962659529
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 0fbb3baa7..92e430fda 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2985,7 +2985,7 @@ class YoutubeDL(object): return info_dict info_dict.setdefault('epoch', int(time.time())) remove_keys = {'__original_infodict'} # Always remove this since this may contain a copy of the entire dict - keep_keys = ['_type'], # Always keep this to facilitate load-info-json + keep_keys = ['_type'] # Always keep this to facilitate load-info-json if remove_private_keys: remove_keys |= { 'requested_formats', 'requested_subtitles', 'requested_entries', |