mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 05:35:52 +01:00
Mark broken IEs in --list-extractors
This commit is contained in:
parent
cdab8aa389
commit
b08e09c370
@ -423,7 +423,7 @@ def _real_main():
|
|||||||
|
|
||||||
if opts.list_extractors:
|
if opts.list_extractors:
|
||||||
for ie in 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)
|
matchedUrls = filter(lambda url: ie.suitable(url), all_urls)
|
||||||
all_urls = filter(lambda url: url not in matchedUrls, all_urls)
|
all_urls = filter(lambda url: url not in matchedUrls, all_urls)
|
||||||
for mu in matchedUrls:
|
for mu in matchedUrls:
|
||||||
|
Loading…
Reference in New Issue
Block a user