default info_dict['format'] to info_dict['ext'] and make the YT one more verbose
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user