From 8f35b886d99150f25ddb9cb8414ffe0fe8ed4ca9 Mon Sep 17 00:00:00 2001 From: Luc Ritchie Date: Mon, 12 Dec 2022 02:18:02 -0500 Subject: [PATCH] Record `multi_video` playlists in download archive --- yt_dlp/YoutubeDL.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index f322b12a2..f4f07c1ad 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2013,6 +2013,11 @@ class YoutubeDL: # Do not set for full playlist ie_result.pop('requested_entries') + if ie_result['_type'] == 'multi_video' and not failures: + if self.params.get('force_write_download_archive') or ( + not self.params.get('simulate') and not self.params.get('skip_download')): + self.record_download_archive(ie_result) + # Write the updated info to json if _infojson_written is True and self._write_info_json( 'updated playlist', ie_result,