mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 14:15:13 +00:00 
			
		
		
		
	[YoutubeDL] Do not override ie_key in url_transparent
This commit is contained in:
		| @@ -707,7 +707,6 @@ class YoutubeDL(object): | ||||
|         It will also download the videos if 'download'. | ||||
|         Returns the resolved ie_result. | ||||
|         """ | ||||
|  | ||||
|         result_type = ie_result.get('_type', 'video') | ||||
|  | ||||
|         if result_type in ('url', 'url_transparent'): | ||||
| @@ -736,7 +735,7 @@ class YoutubeDL(object): | ||||
|  | ||||
|             force_properties = dict( | ||||
|                 (k, v) for k, v in ie_result.items() if v is not None) | ||||
|             for f in ('_type', 'url'): | ||||
|             for f in ('_type', 'url', 'ie_key'): | ||||
|                 if f in force_properties: | ||||
|                     del force_properties[f] | ||||
|             new_result = info.copy() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yen Chi Hsuan
					Yen Chi Hsuan