瀏覽代碼

Update YoutubeDL.py

AndroKev 10 年之前
父節點
當前提交
cd58dc3e56
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/YoutubeDL.py

+ 1 - 1
youtube_dl/YoutubeDL.py

@@ -1145,11 +1145,11 @@ class YoutubeDL(object):
 
 
             if success:
             if success:
                 try:
                 try:
-                    self.record_download_archive(info_dict)
                     self.post_process(filename, info_dict)
                     self.post_process(filename, info_dict)
                 except (PostProcessingError) as err:
                 except (PostProcessingError) as err:
                     self.report_error('postprocessing: %s' % str(err))
                     self.report_error('postprocessing: %s' % str(err))
                     return
                     return
+                self.record_download_archive(info_dict)
 
 
 
 
     def download(self, url_list):
     def download(self, url_list):