0
0
Fork 0

only add video-id to archive, when successful

Example:
no space left--> youtube-dl adds the id to archive, but the video isn't fully downloaded
main
AndroKev 2014-12-17 13:05:19 +01:00
parent 7642c08763
commit c33bcf2051
1 changed files with 1 additions and 1 deletions

View File

@ -1145,12 +1145,12 @@ 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):
"""Download a given list of URLs."""