commit 7c038b3c32bac26d28782852d921a91e530317a6
parent c8cd8e5f55c202171a1b1b6798067fb8cb68f6ab
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Thu, 21 Feb 2013 16:49:05 +0100
Import HTTPErrorProcessor from the correct module (Closes #696)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
@@ -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))