diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 82acfe2828..30f1cd1ee7 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1145,11 +1145,11 @@ def dl(name, info): if success: try: - self.record_download_archive(info_dict) self.post_process(filename, info_dict) except (PostProcessingError) as err: self.report_error('postprocessing: %s' % str(err)) return + self.record_download_archive(info_dict) def download(self, url_list):