default info_dict['format'] to info_dict['ext'] and make the YT one more verbose

This commit is contained in:
Filippo Valsorda
2012-11-27 17:20:25 +01:00
parent c9128b353d
commit 717b1f72ed
2 changed files with 29 additions and 38 deletions

View File

@@ -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)