mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user