diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2014-03-10 19:04:30 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2014-03-10 19:04:51 +0100 |
commit | a0792b738ed51ca61eed36ff1dba41d05141093c (patch) | |
tree | 367029307200210c00f92258d976429920a13429 | |
parent | 19a41fc613b78073de44407703f53347d44667d6 (diff) | |
download | youtube-dl-a0792b738ed51ca61eed36ff1dba41d05141093c.tar.gz youtube-dl-a0792b738ed51ca61eed36ff1dba41d05141093c.zip |
Don't install the global url opener
All the code uses now the urlopen method of YoutubeDL
-rw-r--r-- | youtube_dl/YoutubeDL.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index c1bd0b085..1db27315c 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1236,6 +1236,3 @@ class YoutubeDL(object): # (See https://github.com/rg3/youtube-dl/issues/1309 for details) opener.addheaders = [] self._opener = opener - - # TODO remove this global modification - compat_urllib_request.install_opener(opener) |