Explorar el Código

[kaltura] Fix typo in subtitles extraction (closes #13569)

Sergey M․ hace 8 años
padre
commit
6554708252
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      youtube_dl/extractor/kaltura.py

+ 1 - 1
youtube_dl/extractor/kaltura.py

@@ -324,7 +324,7 @@ class KalturaIE(InfoExtractor):
         if captions:
             for caption in captions.get('objects', []):
                 # Continue if caption is not ready
-                if f.get('status') != 2:
+                if caption.get('status') != 2:
                     continue
                 if not caption.get('id'):
                     continue