summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2013-10-22 00:01:59 +0200
committerJaime Marquínez Ferrándiz <[email protected]>2013-10-22 00:01:59 +0200
commit12893efe01b88a72595f50cbc692d308419001c5 (patch)
treea943db0c0e3c5de1085d4cb8790c15765a321651
parenta6387bfd3cc65d8780bb4d6272b51c6268b45988 (diff)
downloadyoutube-dl-12893efe01b88a72595f50cbc692d308419001c5.tar.gz
youtube-dl-12893efe01b88a72595f50cbc692d308419001c5.zip
Respect the download parameter in YoutubeDL.process_video_result if the extractor handle the format selection
-rw-r--r--youtube_dl/YoutubeDL.py3
1 files changed, 2 insertions, 1 deletions
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