projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8cd8e5
)
Import HTTPErrorProcessor from the correct module (Closes #696)
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 21 Feb 2013 15:49:05 +0000
(16:49 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 21 Feb 2013 15:49:05 +0000
(16:49 +0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 415aacd026a8d25a0fb1ba3ade62863397d37538..23bd21af51a3d64ccf987c5ba5f8fb89d8d0902a 100755
(executable)
--- 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))