瀏覽代碼

[ooyala] Fix unresolved reference

Sergey M․ 10 年之前
父節點
當前提交
9354a5fad4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/ooyala.py

+ 1 - 1
youtube_dl/extractor/ooyala.py

@@ -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]