mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[OpenCast] Add extractors (#1905)
Original PR: https://github.com/ytdl-org/youtube-dl/pull/26934 Authored by: bwildenhain, C0D3D3V
This commit is contained in:
		 Benedikt Wildenhain
					Benedikt Wildenhain
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							e9efb99f66
						
					
				
				
					commit
					4b4b7f746c
				
			| @@ -5024,7 +5024,7 @@ def traverse_dict(dictn, keys, casesense=True): | ||||
|     return traverse_obj(dictn, keys, casesense=casesense, is_user_input=True, traverse_string=True) | ||||
|  | ||||
|  | ||||
| def variadic(x, allowed_types=(str, bytes)): | ||||
| def variadic(x, allowed_types=(str, bytes, dict)): | ||||
|     return x if isinstance(x, collections.abc.Iterable) and not isinstance(x, allowed_types) else (x,) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user