diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 1783ce01b..0df13be4e 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1334,6 +1334,7 @@ class YoutubeDL(object): new_info = dict(info_dict) new_info.update(format) self.process_info(new_info) + self.record_download_archive(info_dict) # We update the info dict with the best quality format (backwards compatibility) info_dict.update(formats_to_download[-1]) return info_dict @@ -1649,7 +1650,6 @@ class YoutubeDL(object): except (PostProcessingError) as err: self.report_error('postprocessing: %s' % str(err)) return - self.record_download_archive(info_dict) def download(self, url_list): """Download a given list of URLs."""