mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	Deprecate unnecessary aliases in formatSort
				
					
				
			(I should never have made so many aliases in the first-place) The aliases remain functional for backward compatability, but will be left undocumented
This commit is contained in:
		| @@ -886,8 +886,8 @@ class YoutubeDL(object): | ||||
|  | ||||
|             try: | ||||
|                 temp_id = str_or_none( | ||||
|                   ie.extract_id(url) if callable(getattr(ie, 'extract_id', None)) | ||||
|                   else ie._match_id(url)) | ||||
|                     ie.extract_id(url) if callable(getattr(ie, 'extract_id', None)) | ||||
|                     else ie._match_id(url)) | ||||
|             except (AssertionError, IndexError, AttributeError): | ||||
|                 temp_id = None | ||||
|             if temp_id is not None and self.in_download_archive({'id': temp_id, 'ie_key': ie_key}): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan