added md5 calculation param

This commit is contained in:
kabaakaba 2015-08-28 15:40:27 +03:00
parent a4962b80d6
commit afa17379a4

View File

@ -1524,7 +1524,7 @@ class YoutubeDL(object):
fd.add_progress_hook(ph) fd.add_progress_hook(ph)
if self.params.get('verbose'): if self.params.get('verbose'):
self.to_stdout('[debug] Invoking downloader on %r' % info.get('url')) self.to_stdout('[debug] Invoking downloader on %r' % info.get('url'))
return fd.download(name, info) return fd.download(name, info, self.params.get("md5"))
if info_dict.get('requested_formats') is not None: if info_dict.get('requested_formats') is not None:
downloaded = [] downloaded = []