1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-01 09:59:28 +00:00

[YoutubeDL] Youku extractor now uses the standard format selection

This commit is contained in:
Yen Chi Hsuan 2015-06-16 00:15:30 +08:00
parent a155b7e76c
commit 0501bfa159

View file

@ -1033,12 +1033,6 @@ class YoutubeDL(object):
info_dict['id'], info_dict.get('subtitles'),
info_dict.get('automatic_captions'))
# This extractors handle format selection themselves
if info_dict['extractor'] in ['Youku']:
if download:
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