Skip to content

A feature-rich command-line audio/video downloader

[YoutubeDL] Improve _format_note

Sergey M․9016d76f71b3
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 93b6ca54d6..29d7a31062 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -1836,7 +1836,7 @@ class YoutubeDL(object):
if fdict.get('language'):
if res:
res += ' '
- res += '[%s]' % fdict['language']
+ res += '[%s] ' % fdict['language']
if fdict.get('format_note') is not None:
res += fdict['format_note'] + ' '
if fdict.get('tbr') is not None: