summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-11-09 18:10:11 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-11-09 18:10:11 +0100
commitc2b6a482d5aadd40972944694307fca3d4d352f0 (patch)
treed60d3c2688142b0fd818c1881a91cd3df9b7d6da
parent12c167c881875360345b9b542052ac204b7c34a7 (diff)
downloadyoutube-dl-c2b6a482d5aadd40972944694307fca3d4d352f0.tar.gz
youtube-dl-c2b6a482d5aadd40972944694307fca3d4d352f0.tar.xz
youtube-dl-c2b6a482d5aadd40972944694307fca3d4d352f0.zip
[brightcove] the format function requires to specify the index in python2.6
-rw-r--r--youtube_dl/extractor/eitb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/eitb.py b/youtube_dl/extractor/eitb.py
index 022d90abc..4ba323148 100644
--- a/youtube_dl/extractor/eitb.py
+++ b/youtube_dl/extractor/eitb.py
@@ -33,5 +33,5 @@ class EitbIE(InfoExtractor):
             raise ExtractorError(u'Could not extract the Brightcove url')
         # The BrightcoveExperience object doesn't contain the video id, we set
         # it manually
-        bc_url += '&%40videoPlayer={}'.format(chapter_id)
+        bc_url += '&%40videoPlayer={0}'.format(chapter_id)
         return self.url_result(bc_url, BrightcoveIE.ie_key())