aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-16 20:15:31 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-16 20:15:31 +0600
commit9354a5fad4521687eb9f08c1a42848621857400b (patch)
tree5050ca3446723eb505d842a324d9305c97f35d89 /youtube_dl
parent1c97b0a777f52c520587e93e7e61721fa6195977 (diff)
[ooyala] Fix unresolved reference
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/ooyala.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ooyala.py b/youtube_dl/extractor/ooyala.py
index 9f4fe5b29..a262a9f6d 100644
--- a/youtube_dl/extractor/ooyala.py
+++ b/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]