projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72321ea
)
Use index in formt string (Fixes vevo test on Python 2.6)
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 30 Oct 2013 00:17:00 +0000
(
01:17
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 30 Oct 2013 00:17:00 +0000
(
01:17
+0100)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 898533496fa4a49136320179a1c9700a215a17fd..7f73ea3605345d94db57dfaab0819cec35b8aca3 100644
(file)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-482,7
+482,7
@@
class YoutubeDL(object):
format['format'] = u'{id} - {res}{note}'.format(
id=format['format_id'],
res=self.format_resolution(format),
- note=u' ({})'.format(format['format_note']) if format.get('format_note') is not None else '',
+ note=u' ({
0
})'.format(format['format_note']) if format.get('format_note') is not None else '',
)
# Automatically determine file extension if missing
if 'ext' not in format: