IE._WORKING attribute in order to warn the users and skip the tests on broken IEs
This commit is contained in:
parent
7e4674830e
commit
03c5b0fbd4
2 changed files with 14 additions and 0 deletions
|
@ -481,6 +481,11 @@ class FileDownloader(object):
|
|||
if not ie.suitable(url):
|
||||
continue
|
||||
|
||||
# Warn if the _WORKING attribute is False
|
||||
if not ie.working():
|
||||
self.trouble(u'WARNING: 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
|
||||
suitable_found = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue