From dfaba1ab9586a7c47017bd897ffda0b795a1d27e Mon Sep 17 00:00:00 2001 From: remitamine Date: Sat, 25 Jul 2015 19:14:18 +0100 Subject: [PATCH] [shahid] fix variable name --- youtube_dl/extractor/shahid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/shahid.py b/youtube_dl/extractor/shahid.py index da3141f11..b3b45da24 100644 --- a/youtube_dl/extractor/shahid.py +++ b/youtube_dl/extractor/shahid.py @@ -64,7 +64,7 @@ class ShahidIE(InfoExtractor): if 'url' in player_json_data: m3u8_url = player_json_data['url'] else: - for error in json_data['error'].values(): + for error in player_json_data['error'].values(): raise ExtractorError(error) return formats = self._extract_m3u8_formats(m3u8_url, video_id) -- 2.22.2