mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-28 21:22:13 +00:00
include video title next to video id when showing format list
This commit is contained in:
parent
560c8c6ec0
commit
264fe7d9fd
1 changed files with 2 additions and 2 deletions
|
@ -1968,8 +1968,8 @@ class YoutubeDL(object):
|
||||||
|
|
||||||
header_line = ['format code', 'extension', 'resolution', 'note']
|
header_line = ['format code', 'extension', 'resolution', 'note']
|
||||||
self.to_screen(
|
self.to_screen(
|
||||||
'[info] Available formats for %s:\n%s' %
|
'[info] Available formats for %s (%s):\n%s' %
|
||||||
(info_dict['id'], render_table(header_line, table)))
|
(info_dict['id'], info_dict['title'], render_table(header_line, table)))
|
||||||
|
|
||||||
def list_thumbnails(self, info_dict):
|
def list_thumbnails(self, info_dict):
|
||||||
thumbnails = info_dict.get('thumbnails')
|
thumbnails = info_dict.get('thumbnails')
|
||||||
|
|
Loading…
Reference in a new issue