Bläddra i källkod

[brightcove] the format function requires to specify the index in python2.6

Jaime Marquínez Ferrándiz 11 år sedan
förälder
incheckning
c2b6a482d5
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      youtube_dl/extractor/eitb.py

+ 1 - 1
youtube_dl/extractor/eitb.py

@@ -33,5 +33,5 @@ class EitbIE(InfoExtractor):
             raise ExtractorError(u'Could not extract the Brightcove url')
             raise ExtractorError(u'Could not extract the Brightcove url')
         # The BrightcoveExperience object doesn't contain the video id, we set
         # The BrightcoveExperience object doesn't contain the video id, we set
         # it manually
         # it manually
-        bc_url += '&%40videoPlayer={}'.format(chapter_id)
+        bc_url += '&%40videoPlayer={0}'.format(chapter_id)
         return self.url_result(bc_url, BrightcoveIE.ie_key())
         return self.url_result(bc_url, BrightcoveIE.ie_key())