mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 02:37:07 -05:00 
			
		
		
		
	Import HTTPErrorProcessor from the correct module (Closes #696)
This commit is contained in:
		@@ -1330,7 +1330,7 @@ class GenericIE(InfoExtractor):
 | 
			
		||||
        opener = compat_urllib_request.OpenerDirector()
 | 
			
		||||
        for handler in [compat_urllib_request.HTTPHandler, compat_urllib_request.HTTPDefaultErrorHandler,
 | 
			
		||||
                        HTTPMethodFallback, HEADRedirectHandler,
 | 
			
		||||
                        compat_urllib_error.HTTPErrorProcessor, compat_urllib_request.HTTPSHandler]:
 | 
			
		||||
                        compat_urllib_request.HTTPErrorProcessor, compat_urllib_request.HTTPSHandler]:
 | 
			
		||||
            opener.add_handler(handler())
 | 
			
		||||
 | 
			
		||||
        response = opener.open(HeadRequest(url))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user