aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-07-05 23:20:50 +0700
committerSergey M․ <dstftw@gmail.com>2017-07-05 23:20:50 +0700
commit655470825231eaa03b4b82cbc1314d551e72a01e (patch)
treece8ad0ff223467becad46cbcc3c25334e8666de1
parent0a2e1b2e30045de7834aca880d35253c5e8a3812 (diff)
[kaltura] Fix typo in subtitles extraction (closes #13569)
-rw-r--r--youtube_dl/extractor/kaltura.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/kaltura.py b/youtube_dl/extractor/kaltura.py
index 41c1f3d96..138d4844d 100644
--- a/youtube_dl/extractor/kaltura.py
+++ b/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