]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Update YoutubeDL.py
authorAndroKev <AndroKev@users.noreply.github.com>
Wed, 17 Dec 2014 12:21:22 +0000 (13:21 +0100)
committerAndroKev <AndroKev@users.noreply.github.com>
Wed, 17 Dec 2014 12:21:22 +0000 (13:21 +0100)
youtube_dl/YoutubeDL.py

index 82acfe2828f32a6fb71c110a90b2488e9ad75b48..30f1cd1ee7e2c49da44a732474b4bf973cbb4486 100755 (executable)
@@ -1145,11 +1145,11 @@ class YoutubeDL(object):
 
             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):