1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-24 07:06:51 +01:00

Merge pull request #4501 from AndroKev/master

only add video-id to archive, when successful
This commit is contained in:
Philipp Hagemeister 2014-12-17 13:31:33 +01:00
commit f7ffe72ac7

View File

@ -1149,9 +1149,9 @@ class YoutubeDL(object):
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."""
outtmpl = self.params.get('outtmpl', DEFAULT_OUTTMPL)