From: Philipp Hagemeister Date: Sun, 22 Dec 2013 02:25:55 +0000 (+0100) Subject: Show all matching URLs X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=04ff34ab8977ae14654089f5bf9956ffa8f23c5f;p=youtube-dl Show all matching URLs --- diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 6df44020b..7e156d4d4 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -525,7 +525,6 @@ def _real_main(argv=None): for ie in sorted(extractors, key=lambda ie: ie.IE_NAME.lower()): compat_print(ie.IE_NAME + (' (CURRENTLY BROKEN)' if not ie._WORKING else '')) matchedUrls = [url for url in all_urls if ie.suitable(url)] - all_urls = [url for url in all_urls if url not in matchedUrls] for mu in matchedUrls: compat_print(u' ' + mu) sys.exit(0)