]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ooyala] Fix unresolved reference
authorSergey M․ <dstftw@gmail.com>
Sat, 16 May 2015 14:15:31 +0000 (20:15 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 16 May 2015 14:15:31 +0000 (20:15 +0600)
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]