]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[brightcove] the format function requires to specify the index in python2.6
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 9 Nov 2013 17:10:11 +0000 (18:10 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 9 Nov 2013 17:10:11 +0000 (18:10 +0100)
youtube_dl/extractor/eitb.py

index 022d90abc04181d954fc1d6cf996af936703204d..4ba323148cc9e81e1e77c9ce12fba65ac8030638 100644 (file)
@@ -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())