mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 22:35:21 +00:00
include video title next to video id when showing format list
This commit is contained in:
parent
560c8c6ec0
commit
264fe7d9fd
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user