Respect the download parameter in YoutubeDL.process_video_result if the extractor handle the format selection

pull/8/head
Jaime Marquínez Ferrándiz 11 years ago
parent a6387bfd3c
commit 12893efe01

@ -461,6 +461,7 @@ class YoutubeDL(object):
# This extractors handle format selection themselves # This extractors handle format selection themselves
if info_dict['extractor'] in [u'youtube', u'Youku', u'YouPorn', u'mixcloud']: if info_dict['extractor'] in [u'youtube', u'Youku', u'YouPorn', u'mixcloud']:
if download:
self.process_info(info_dict) self.process_info(info_dict)
return info_dict return info_dict

Loading…
Cancel
Save