[brightcove] the format function requires to specify the index in python2.6
[youtube-dl] / 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())