[ooyala] Fix unresolved reference

This commit is contained in:
Sergey M․ 2015-05-16 20:15:31 +06:00
parent 1c97b0a777
commit 9354a5fad4

View file

@ -59,7 +59,7 @@ def _extract(self, player_url, video_id):
if not videos_info:
formats = []
auth_data = self._download_json(
'http://player.ooyala.com/sas/player_api/v1/authorization/embed_code/%s/%s?domain=www.example.org&supportedFormats=mp4,webm' % (embedCode, embedCode),
'http://player.ooyala.com/sas/player_api/v1/authorization/embed_code/%s/%s?domain=www.example.org&supportedFormats=mp4,webm' % (video_id, video_id),
video_id)
cur_auth_data = auth_data['authorization_data'][video_id]