]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Pass the 'download' argument to 'process_video_result' (fixes #1769)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 15 Nov 2013 10:04:26 +0000 (11:04 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 15 Nov 2013 10:04:26 +0000 (11:04 +0100)
youtube_dl/YoutubeDL.py

index f615911de210620ffebc8d5e9f98a78eefc6c10a..b5c670dd475b9f7081470cd60209bde5d4aabf8e 100644 (file)
@@ -385,7 +385,7 @@ class YoutubeDL(object):
         result_type = ie_result.get('_type', 'video') # If not given we suppose it's a video, support the default old system
         if result_type == 'video':
             self.add_extra_info(ie_result, extra_info)
-            return self.process_video_result(ie_result)
+            return self.process_video_result(ie_result, download=download)
         elif result_type == 'url':
             # We have to add extra_info to the results because it may be
             # contained in a playlist