2
0
Эх сурвалжийг харах

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

Remita Amine 6 жил өмнө
parent
commit
19041a3877

+ 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