Create a function in InfoExtractors that returns the InfoExtractor class with the given name
This commit is contained in:
@ -4469,3 +4469,7 @@ def gen_extractors():
|
||||
ARDIE(),
|
||||
GenericIE()
|
||||
]
|
||||
|
||||
def get_info_extractor(ie_name):
|
||||
"""Returns the info extractor class with the given ie_name"""
|
||||
return globals()[ie_name+'IE']
|
||||
|
Reference in New Issue
Block a user