aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-07-25 19:14:18 +0100
committerremitamine <remitamine@gmail.com>2015-07-25 19:14:18 +0100
commitdfaba1ab9586a7c47017bd897ffda0b795a1d27e (patch)
tree79ef44cacf72ab6cfde0efea43273fdefdb010d0
parenta62fd1af275a125b77d782e821724d6c6c896b69 (diff)
[shahid] fix variable name
-rw-r--r--youtube_dl/extractor/shahid.py2
1 files changed, 1 insertions, 1 deletions
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)