From: Philipp Hagemeister Date: Wed, 28 Nov 2012 16:58:55 +0000 (+0100) Subject: Mark broken IEs in --list-extractors X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b08e09c3701d77413e1408a3475b513cc345cd5c;p=youtube-dl Mark broken IEs in --list-extractors --- diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index bf0ce14ec..37d6f8cfd 100644 --- 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: