+ player_json_data = self._download_json(
+ 'https://shahid.mbc.net/arContent/getPlayerContent-param-.id-' + video_id + '.type-' + player_info['type'] + '.html',
+ video_id
+ )['data']
+ if 'url' in player_json_data:
+ m3u8_url = player_json_data['url']
+ else:
+ for error in player_json_data['error'].values():
+ raise ExtractorError(error)
+ formats = self._extract_m3u8_formats(m3u8_url, video_id)
+