[shahid] fix variable name

This commit is contained in:
remitamine 2015-07-25 19:14:18 +01:00
parent a62fd1af27
commit dfaba1ab95

View File

@ -64,7 +64,7 @@ def _real_extract(self, url):
if 'url' in player_json_data: if 'url' in player_json_data:
m3u8_url = player_json_data['url'] m3u8_url = player_json_data['url']
else: else:
for error in json_data['error'].values(): for error in player_json_data['error'].values():
raise ExtractorError(error) raise ExtractorError(error)
return return
formats = self._extract_m3u8_formats(m3u8_url, video_id) formats = self._extract_m3u8_formats(m3u8_url, video_id)