浏览代码

Show all matching URLs

Philipp Hagemeister 11 年之前
父节点
当前提交
04ff34ab89
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      youtube_dl/__init__.py

+ 0 - 1
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()):
         for ie in sorted(extractors, key=lambda ie: ie.IE_NAME.lower()):
             compat_print(ie.IE_NAME + (' (CURRENTLY BROKEN)' if not ie._WORKING else ''))
             compat_print(ie.IE_NAME + (' (CURRENTLY BROKEN)' if not ie._WORKING else ''))
             matchedUrls = [url for url in all_urls if ie.suitable(url)]
             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:
             for mu in matchedUrls:
                 compat_print(u'  ' + mu)
                 compat_print(u'  ' + mu)
         sys.exit(0)
         sys.exit(0)