From 264fe7d9fde437e044031ce5389e96dc880b940f Mon Sep 17 00:00:00 2001 From: Peter Upton Date: Fri, 25 Nov 2016 13:42:05 -0600 Subject: [PATCH] include video title next to video id when showing format list --- youtube_dl/YoutubeDL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 53f20ac2c..7b49afa0f 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1968,8 +1968,8 @@ class YoutubeDL(object): header_line = ['format code', 'extension', 'resolution', 'note'] self.to_screen( - '[info] Available formats for %s:\n%s' % - (info_dict['id'], render_table(header_line, table))) + '[info] Available formats for %s (%s):\n%s' % + (info_dict['id'], info_dict['title'], render_table(header_line, table))) def list_thumbnails(self, info_dict): thumbnails = info_dict.get('thumbnails')