mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-21 13:54:22 -07:00
default info_dict['format'] to info_dict['ext'] and make the YT one more verbose
This commit is contained in:
parent
c9128b353d
commit
717b1f72ed
2 changed files with 29 additions and 38 deletions
|
@ -355,6 +355,9 @@ class FileDownloader(object):
|
|||
# Keep for backwards compatibility
|
||||
info_dict['stitle'] = info_dict['title']
|
||||
|
||||
if not 'format' in info_dict:
|
||||
info_dict['format'] = info_dict['ext']
|
||||
|
||||
reason = self._match_entry(info_dict)
|
||||
if reason is not None:
|
||||
self.to_screen(u'[download] ' + reason)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue