projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdab8aa
)
Mark broken IEs in --list-extractors
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 28 Nov 2012 16:58:55 +0000
(17:58 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 28 Nov 2012 16:58:55 +0000
(17:58 +0100)
youtube_dl/__init__.py
patch
|
blob
|
history
diff --git
a/youtube_dl/__init__.py
b/youtube_dl/__init__.py
index bf0ce14ecb2781d40936830fa25067a5c1af691b..37d6f8cfdce5fe8ec6475ac7a6e8eac02fff76bb 100644
(file)
--- a/
youtube_dl/__init__.py
+++ b/
youtube_dl/__init__.py
@@
-423,7
+423,7
@@
def _real_main():
if opts.list_extractors:
for ie in extractors:
- print(ie.IE_NAME)
+ print(ie.IE_NAME
+ (' (CURRENTLY BROKEN)' if not ie._WORKING else '')
)
matchedUrls = filter(lambda url: ie.suitable(url), all_urls)
all_urls = filter(lambda url: url not in matchedUrls, all_urls)
for mu in matchedUrls: