A feature-rich command-line audio/video downloader
Fix bug in writing playlist info-json
pukkandanec54bd43f374
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.pyindex 5057323274..db6bfded83 100644--- a/yt_dlp/YoutubeDL.py+++ b/yt_dlp/YoutubeDL.py@@ -1862,11 +1862,10 @@ class YoutubeDL:self.to_screen('[download] Downloading item %s of %s' % (self._format_screen(i + 1, self.Styles.ID), self._format_screen(n_entries, self.Styles.EMPHASIS)))- extra.update({+ entry_result = self.__process_iterable_entry(entry, download, collections.ChainMap({'playlist_index': playlist_index,'playlist_autonumber': i + 1,- })- entry_result = self.__process_iterable_entry(entry, download, extra)+ }, extra))if not entry_result:failures += 1if failures >= max_failures: