0
0
Fork 0

Do not handle format selection for IEs that already handle it

main
Jaime Marquínez Ferrándiz 2013-07-13 17:51:26 +02:00
parent 99e206d508
commit 6ff000b888
1 changed files with 5 additions and 0 deletions

View File

@ -451,6 +451,11 @@ class YoutubeDL(object):
info_dict['playlist'] = None
info_dict['playlist_index'] = None
# This extractors handle format selection themselves
if info_dict['extractor'] in [u'youtube', u'Youku', u'YouPorn', u'mixcloud']:
self.process_info(info_dict)
return info_dict
# We now pick which formats have to be downloaded
if info_dict.get('formats') is None:
# There's only one format available