Kaynağa Gözat

[youtube] extract srv[1-3] subtitle formats(#20566)

Remita Amine 6 yıl önce
ebeveyn
işleme
19041a3877
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      youtube_dl/extractor/youtube.py

+ 1 - 1
youtube_dl/extractor/youtube.py

@@ -484,7 +484,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
         # RTMP (unnamed)
         '_rtmp': {'protocol': 'rtmp'},
     }
-    _SUBTITLE_FORMATS = ('ttml', 'vtt')
+    _SUBTITLE_FORMATS = ('srv1', 'srv2', 'srv3', 'ttml', 'vtt')
 
     _GEO_BYPASS = False