Skip to content

A feature-rich command-line audio/video downloader

Use report_warning when a not working IE will be uses

Jaime Marquínez Ferrándiz767e00277f37
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py
index 2db686d62e..80c2546ea9 100644
--- a/youtube_dl/FileDownloader.py
+++ b/youtube_dl/FileDownloader.py
@@ -455,7 +455,7 @@ class FileDownloader(object):
# Warn if the _WORKING attribute is False
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.')
# Suitable InfoExtractor found