[YoutubeDL] Youku extractor now uses the standard format selection
authorYen Chi Hsuan <yan12125@gmail.com>
Mon, 15 Jun 2015 16:15:30 +0000 (00:15 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Mon, 15 Jun 2015 16:15:30 +0000 (00:15 +0800)
youtube_dl/YoutubeDL.py

index aacec295889814e1d27e42a5bd14ed0ce2d6fe78..6e4b6f56664f67a796b21f10b8d005f2f6e5b68d 100755 (executable)
@@ -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