diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 5be107065..8a6ae6a80 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1717,7 +1717,7 @@ class YoutubeDL(object): if reason is not None: self.to_screen('[download] ' + reason) return - + self._num_downloads += 1 info_dict['_filename'] = filename = self.prepare_filename(info_dict)