aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-17 13:31:33 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-17 13:31:33 +0100
commitf7ffe72ac78f6d093d8e4c28f1710c52a8c65121 (patch)
treeef946847df1f0727614ae571d72cb8df78b67a76
parent7642c08763cda0cadeb812393ed3d1b2c8ecb99a (diff)
parentcd58dc3e56b2efa955bda6ced7105df2bb790e63 (diff)
Merge pull request #4501 from AndroKev/master
only add video-id to archive, when successful
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 8a6bcd51c..30f1cd1ee 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -1149,8 +1149,8 @@ class YoutubeDL(object):
except (PostProcessingError) as err:
self.report_error('postprocessing: %s' % str(err))
return
+ self.record_download_archive(info_dict)
- self.record_download_archive(info_dict)
def download(self, url_list):
"""Download a given list of URLs."""