diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-03-19 01:36:56 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-03-19 02:29:02 +0530 |
commit | 0c14d66ad9ce1c517fd3fab09a96a16724d3d2ab (patch) | |
tree | 263a82cdcf3ecf9ada741c00c1519288a5a8dc47 | |
parent | 52efa4b31200119adaa8acf33e50b84fcb6948f0 (diff) | |
download | hypervideo-pre-0c14d66ad9ce1c517fd3fab09a96a16724d3d2ab.tar.lz hypervideo-pre-0c14d66ad9ce1c517fd3fab09a96a16724d3d2ab.tar.xz hypervideo-pre-0c14d66ad9ce1c517fd3fab09a96a16724d3d2ab.zip |
Fix `autonumber`
Bug in 09b49e1f688831c3ad7181decf38c90f8451e6c4
-rw-r--r-- | yt_dlp/YoutubeDL.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 38ff628b0..33f33ddfe 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2859,14 +2859,13 @@ class YoutubeDL(object): # 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)) |