mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-09-01 08:45:09 +02: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']
|
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 New Issue
Block a user