2
0
Эх сурвалжийг харах

[shahid] fix variable name

remitamine 10 жил өмнө
parent
commit
dfaba1ab95

+ 1 - 1
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)