mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 21:33:19 +00:00
Use report_warning when a not working IE will be uses
This commit is contained in:
parent
6ce533a220
commit
767e00277f
|
@ -455,7 +455,7 @@ def extract_info(self, url, download = True, ie_name = None):
|
||||||
|
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in a new issue