diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-12-07 02:07:48 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-12-07 02:07:48 +0530 |
commit | b5475f1145f5f20298c456f47dd5539d244127a2 (patch) | |
tree | e9b64ec32797851c1fa842bffa47e868d266ba84 /yt_dlp/YoutubeDL.py | |
parent | 38d79fd16c741ae9e460bc5adbbdb9972347b6be (diff) | |
download | hypervideo-pre-b5475f1145f5f20298c456f47dd5539d244127a2.tar.lz hypervideo-pre-b5475f1145f5f20298c456f47dd5539d244127a2.tar.xz hypervideo-pre-b5475f1145f5f20298c456f47dd5539d244127a2.zip |
Pre-process when using `--flat-playlist`
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 57b36b050..7406f4c5e 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) |