A feature-rich command-line audio/video downloader
Pre-process when using `--flat-playlist`
pukkandanb5475f1145f5
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.pyindex 57b36b0505..7406f4c5ed 100644--- a/yt_dlp/YoutubeDL.py+++ b/yt_dlp/YoutubeDL.py@@ -1454,6 +1454,7 @@ class YoutubeDL(object):info_copy['id'] = ie.get_temp_id(ie_result['url'])self.add_default_extra_info(info_copy, ie, ie_result['url'])self.add_extra_info(info_copy, extra_info)+ info_copy, _ = self.pre_process(info_copy)self.__forced_printings(info_copy, self.prepare_filename(info_copy), incomplete=True)if self.params.get('force_write_download_archive', False):self.record_download_archive(info_copy)