aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/__init__.py')
-rw-r--r--yt_dlp/extractor/__init__.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/yt_dlp/extractor/__init__.py b/yt_dlp/extractor/__init__.py
index 6288c5c6b..506ffe87c 100644
--- a/yt_dlp/extractor/__init__.py
+++ b/yt_dlp/extractor/__init__.py
@@ -38,14 +38,10 @@ def gen_extractors():
def list_extractors(age_limit):
- """
- Return a list of extractors that are suitable for the given age,
- sorted by extractor ID.
- """
-
- return sorted(
- filter(lambda ie: ie.is_suitable(age_limit), gen_extractors()),
- key=lambda ie: ie.IE_NAME.lower())
+ """Return a list of extractors that are suitable for the given age, sorted by extractor name"""
+ return sorted(filter(
+ lambda ie: ie.is_suitable(age_limit),
+ gen_extractors()), key=lambda ie: ie.IE_NAME.lower())
def get_info_extractor(ie_name):