mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[networking] Remove _CompatHTTPError (#8871)
				
					
				
			Use `yt_dlp.networking.exceptions.HTTPError`. `_CompatHTTPError` was to help with transition to the networking framework. Authored by: coletdjnz
This commit is contained in:
		| @@ -40,7 +40,6 @@ from .networking.exceptions import ( | ||||
|     NoSupportingHandlers, | ||||
|     RequestError, | ||||
|     SSLError, | ||||
|     _CompatHTTPError, | ||||
|     network_exceptions, | ||||
| ) | ||||
| from .plugins import directories as plugin_directories | ||||
| @@ -4110,8 +4109,6 @@ class YoutubeDL: | ||||
|                     'SSLV3_ALERT_HANDSHAKE_FAILURE: The server may not support the current cipher list. ' | ||||
|                     'Try using --legacy-server-connect', cause=e) from e | ||||
|             raise | ||||
|         except HTTPError as e:  # TODO: Remove in a future release | ||||
|             raise _CompatHTTPError(e) from e | ||||
| 
 | ||||
|     def build_request_director(self, handlers, preferences=None): | ||||
|         logger = _YDLLogger(self) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 coletdjnz
					coletdjnz