From: Philipp Hagemeister Date: Thu, 21 Feb 2013 15:49:05 +0000 (+0100) Subject: Import HTTPErrorProcessor from the correct module (Closes #696) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=7c038b3c32bac26d28782852d921a91e530317a6;p=youtube-dl Import HTTPErrorProcessor from the correct module (Closes #696) --- 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))