diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-02-21 16:49:05 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-02-21 16:49:05 +0100 |
commit | 7c038b3c32bac26d28782852d921a91e530317a6 (patch) | |
tree | b04ae9b0914e4292876b65d46b0006b2d4317ac5 /youtube_dl | |
parent | c8cd8e5f55c202171a1b1b6798067fb8cb68f6ab (diff) |
Import HTTPErrorProcessor from the correct module (Closes #696)
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 415aacd02..23bd21af5 100755 --- 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)) |