fix YouTubeIE on 2.6, sorry
authorFilippo Valsorda <filippo.valsorda@gmail.com>
Wed, 28 Nov 2012 10:28:59 +0000 (11:28 +0100)
committerFilippo Valsorda <filippo.valsorda@gmail.com>
Wed, 28 Nov 2012 10:28:59 +0000 (11:28 +0100)
youtube_dl/InfoExtractors.py

index 036132167a84788b2fe8e0aca7c1720f3c8296b3..44ad342a80616ae2a7e17250ba3c213928e1b280 100644 (file)
@@ -486,8 +486,8 @@ class YoutubeIE(InfoExtractor):
             # Extension
             video_extension = self._video_extensions.get(format_param, 'flv')
 
-            video_format = '{} - {}'.format(format_param if format_param else video_extension,
-                                            self._video_dimensions.get(format_param, '???'))
+            video_format = '{0} - {1}'.format(format_param if format_param else video_extension,
+                                              self._video_dimensions.get(format_param, '???'))
 
             results.append({
                 'id':       video_id,