[ooyala] Fix unresolved reference
[youtube-dl] / youtube_dl / extractor / ooyala.py
index 9f4fe5b2911e5e10c3260fe18db8a05ecd17918d..a262a9f6d4ec232e78ee34f3ce38b03ea27d01e9 100644 (file)
@@ -59,7 +59,7 @@ class OoyalaBaseIE(InfoExtractor):
         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]