Mark broken IEs in --list-extractors
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 28 Nov 2012 16:58:55 +0000 (17:58 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 28 Nov 2012 16:58:55 +0000 (17:58 +0100)
youtube_dl/__init__.py

index bf0ce14ecb2781d40936830fa25067a5c1af691b..37d6f8cfdce5fe8ec6475ac7a6e8eac02fff76bb 100644 (file)
@@ -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: