1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-01 15:15:15 +00:00

[extractor] Document netrc machines

Closes #3169
This commit is contained in:
pukkandan
2022-05-09 10:02:17 +05:30
parent 494f52308b
commit 8dcce6a89c
7 changed files with 222 additions and 227 deletions

View File

@@ -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):