0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-17 01:25:11 +00:00

Pass the 'download' argument to 'process_video_result' (fixes #1769)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-11-15 11:04:26 +01:00
parent a25a5cfeec
commit feee2ecfa9

View file

@ -385,7 +385,7 @@ def process_ie_result(self, ie_result, download=True, extra_info={}):
result_type = ie_result.get('_type', 'video') # If not given we suppose it's a video, support the default old system 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': if result_type == 'video':
self.add_extra_info(ie_result, extra_info) 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': elif result_type == 'url':
# We have to add extra_info to the results because it may be # We have to add extra_info to the results because it may be
# contained in a playlist # contained in a playlist