mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 15:22:35 +00:00
Pre-process when using --flat-playlist
This commit is contained in:
parent
38d79fd16c
commit
b5475f1145
1 changed files with 1 additions and 0 deletions
|
@ -1454,6 +1454,7 @@ class YoutubeDL(object):
|
||||||
info_copy['id'] = ie.get_temp_id(ie_result['url'])
|
info_copy['id'] = ie.get_temp_id(ie_result['url'])
|
||||||
self.add_default_extra_info(info_copy, ie, ie_result['url'])
|
self.add_default_extra_info(info_copy, ie, ie_result['url'])
|
||||||
self.add_extra_info(info_copy, extra_info)
|
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)
|
self.__forced_printings(info_copy, self.prepare_filename(info_copy), incomplete=True)
|
||||||
if self.params.get('force_write_download_archive', False):
|
if self.params.get('force_write_download_archive', False):
|
||||||
self.record_download_archive(info_copy)
|
self.record_download_archive(info_copy)
|
||||||
|
|
Loading…
Reference in a new issue