1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-16 14:34:31 +01:00

[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 @@ class ShahidIE(InfoExtractor):
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)