1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-15 07:33:08 +01:00

Fix autonumber

Bug in 09b49e1f68
This commit is contained in:
pukkandan 2022-03-19 01:36:56 +05:30
parent 52efa4b312
commit 0c14d66ad9
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -2859,14 +2859,13 @@ def process_info(self, info_dict):
# Does nothing under normal operation - for backward compatibility of process_info
self.post_extract(info_dict)
self._num_downloads += 1
# info_dict['_filename'] needs to be set for backward compatibility
info_dict['_filename'] = full_filename = self.prepare_filename(info_dict, warn=True)
temp_filename = self.prepare_filename(info_dict, 'temp')
files_to_move = {}
self._num_downloads += 1
# Forced printings
self.__forced_printings(info_dict, full_filename, incomplete=('format' not in info_dict))