Explorar o código

[YoutubeDL] Youku extractor now uses the standard format selection

Yen Chi Hsuan %!s(int64=10) %!d(string=hai) anos
pai
achega
0501bfa159
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      youtube_dl/YoutubeDL.py

+ 0 - 6
youtube_dl/YoutubeDL.py

@@ -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