1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-09-01 13:05:11 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Upton
01cc1e641e
Merge 264fe7d9fd into 0153b387e5 2024-06-15 01:17:20 +08:00
Peter Upton
264fe7d9fd include video title next to video id when showing format list 2016-11-25 13:42:05 -06:00

View File

@ -2437,8 +2437,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')