mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 00:52:52 +08:00
Sort IEs alphabetically in --list-extractors
This commit is contained in:
parent
53936f3d57
commit
7dba9cd039
@ -420,7 +420,7 @@ def _real_main(argv=None):
|
||||
extractors = gen_extractors()
|
||||
|
||||
if opts.list_extractors:
|
||||
for ie in extractors:
|
||||
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]
|
||||
|
Loading…
Reference in New Issue
Block a user