From: Jaime Marquínez Ferrándiz Date: Mon, 21 Oct 2013 22:01:59 +0000 (+0200) Subject: Respect the download parameter in YoutubeDL.process_video_result if the extractor... X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=12893efe01b88a72595f50cbc692d308419001c5;p=youtube-dl Respect the download parameter in YoutubeDL.process_video_result if the extractor handle the format selection --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 5f70b6dac..577e27b11 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -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