Respect the download parameter in YoutubeDL.process_video_result if the extractor...
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 21 Oct 2013 22:01:59 +0000 (00:01 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 21 Oct 2013 22:01:59 +0000 (00:01 +0200)
youtube_dl/YoutubeDL.py

index 5f70b6dac727cdc4ff521a3381c2e2d610c483c7..577e27b1136b3985dc0077beb60a435b95e44586 100644 (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