diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-12-30 14:07:11 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-12-30 14:07:15 +0530 |
commit | ec54bd43f374cee429d67078ac61b75e66afb3fa (patch) | |
tree | 3a22c2b4b3d11e49c2ce27f6d23e8ba4269fb759 | |
parent | f74371a97d67237e055612006602934b910b1275 (diff) | |
download | hypervideo-pre-ec54bd43f374cee429d67078ac61b75e66afb3fa.tar.lz hypervideo-pre-ec54bd43f374cee429d67078ac61b75e66afb3fa.tar.xz hypervideo-pre-ec54bd43f374cee429d67078ac61b75e66afb3fa.zip |
Fix bug in writing playlist info-json
Closes #4889
-rw-r--r-- | yt_dlp/YoutubeDL.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 505732327..db6bfded8 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 += 1 if failures >= max_failures: |