1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

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

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-10-22 00:01:59 +02:00
parent a6387bfd3c
commit 12893efe01

View File

@ -461,7 +461,8 @@ class YoutubeDL(object):
# This extractors handle format selection themselves
if info_dict['extractor'] in [u'youtube', u'Youku', u'YouPorn', u'mixcloud']:
self.process_info(info_dict)
if download:
self.process_info(info_dict)
return info_dict
# We now pick which formats have to be downloaded