From: Jaime Marquínez Ferrándiz Date: Sat, 9 Nov 2013 17:10:11 +0000 (+0100) Subject: [brightcove] the format function requires to specify the index in python2.6 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c2b6a482d5aadd40972944694307fca3d4d352f0;hp=12c167c881875360345b9b542052ac204b7c34a7;p=youtube-dl [brightcove] the format function requires to specify the index in python2.6 --- 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())