0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-01 03:43:02 +00:00

fix YouTubeIE on 2.6, sorry

This commit is contained in:
Filippo Valsorda 2012-11-28 11:28:59 +01:00
parent 799c076384
commit 32761d863c

View file

@ -486,7 +486,7 @@ def _real_extract(self, url):
# Extension # Extension
video_extension = self._video_extensions.get(format_param, 'flv') video_extension = self._video_extensions.get(format_param, 'flv')
video_format = '{} - {}'.format(format_param if format_param else video_extension, video_format = '{0} - {1}'.format(format_param if format_param else video_extension,
self._video_dimensions.get(format_param, '???')) self._video_dimensions.get(format_param, '???'))
results.append({ results.append({