mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Respect the download parameter in YoutubeDL.process_video_result if the extractor handle the format selection
This commit is contained in:
parent
a6387bfd3c
commit
12893efe01
1 changed files with 2 additions and 1 deletions
|
@ -461,7 +461,8 @@ def process_video_result(self, info_dict, download=True):
|
||||||
|
|
||||||
# This extractors handle format selection themselves
|
# This extractors handle format selection themselves
|
||||||
if info_dict['extractor'] in [u'youtube', u'Youku', u'YouPorn', u'mixcloud']:
|
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
|
return info_dict
|
||||||
|
|
||||||
# We now pick which formats have to be downloaded
|
# We now pick which formats have to be downloaded
|
||||||
|
|
Loading…
Reference in a new issue