Improve format listing for long format ids
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 9 Nov 2013 18:07:34 +0000 (19:07 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 9 Nov 2013 18:07:34 +0000 (19:07 +0100)
Now arte.tv videos have quite long ids.

youtube_dl/YoutubeDL.py

index 86a6fd043ea0b1e0cb65764d18a28a71d19bb6da..5253c39e1c8c3fdfe083d62d69c6b7552ef303b6 100644 (file)
@@ -782,7 +782,7 @@ class YoutubeDL(object):
 
     def list_formats(self, info_dict):
         def line(format):
-            return (u'%-15s%-10s%-12s%s' % (
+            return (u'%-20s%-10s%-12s%s' % (
                 format['format_id'],
                 format['ext'],
                 self.format_resolution(format),