diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 82acfe282..30f1cd1ee 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):