mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	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
	 Jaime Marquínez Ferrándiz
					Jaime Marquínez Ferrándiz