A feature-rich command-line audio/video downloader
Fix `extra_info` being reused across runs Closes #727
pukkandan58adec46773e
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.pyindex 62525cfb54..f180483a32 100644--- a/yt_dlp/YoutubeDL.py+++ b/yt_dlp/YoutubeDL.py@@ -1254,7 +1254,7 @@ class YoutubeDL(object):'extractor_key': ie.ie_key(),})- def process_ie_result(self, ie_result, download=True, extra_info={}):+ def process_ie_result(self, ie_result, download=True, extra_info=None):"""Take the result of the ie(may be modified) and resolve all unresolvedreferences (URLs, playlist items).@@ -1262,6 +1262,8 @@ class YoutubeDL(object):It will also download the videos if 'download'.Returns the resolved ie_result."""+ if extra_info is None:+ extra_info = {}result_type = ie_result.get('_type', 'video')if result_type in ('url', 'url_transparent'):