From: Sergey M․ Date: Wed, 5 Jul 2017 16:20:50 +0000 (+0700) Subject: [kaltura] Fix typo in subtitles extraction (closes #13569) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=655470825231eaa03b4b82cbc1314d551e72a01e;p=youtube-dl [kaltura] Fix typo in subtitles extraction (closes #13569) --- 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