Merge pull request #4501 from AndroKev/master

only add video-id to archive, when successful
pull/1198/head
Philipp Hagemeister 2014-12-17 13:31:33 +01:00
commit f7ffe72ac7
1 changed files with 1 additions and 1 deletions

View File

@ -1149,8 +1149,8 @@ class YoutubeDL(object):
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)
self.record_download_archive(info_dict)
def download(self, url_list): def download(self, url_list):
"""Download a given list of URLs.""" """Download a given list of URLs."""