1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-25 13:55:29 +08:00

Use report_warning when a not working IE will be uses

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-04-28 17:12:07 +02:00
parent 6ce533a220
commit 767e00277f

View File

@ -455,7 +455,7 @@ class FileDownloader(object):
# Warn if the _WORKING attribute is False # Warn if the _WORKING attribute is False
if not ie.working(): if not ie.working():
self.to_stderr(u'WARNING: the program functionality for this site has been marked as broken, ' self.report_warning(u'the program functionality for this site has been marked as broken, '
u'and will probably not work. If you want to go on, use the -i option.') u'and will probably not work. If you want to go on, use the -i option.')
# Suitable InfoExtractor found # Suitable InfoExtractor found