0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-30 03:33:02 +00: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 @@ def extract_info(self, url, download = True, ie_name = None):
# 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