diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-09-06 06:21:33 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-09-06 06:21:33 +0600 |
commit | 6a3f4c3f829eaff87caacf162ae4fc60045bd059 (patch) | |
tree | 7e708804ca6c20d7df866e99837a0a9b47862057 /youtube_dl/YoutubeDL.py | |
parent | a6420bf50cc60aa9c8e37bfb2acb10eca361a4f0 (diff) |
[YoutubeDL] Use custom cookie processor
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 0afda5ecb..d65253882 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -69,6 +69,7 @@ from .utils import ( version_tuple, write_json_file, write_string, + YoutubeDLCookieProcessor, YoutubeDLHandler, prepend_extension, replace_extension, @@ -1943,8 +1944,7 @@ class YoutubeDL(object): if os.access(opts_cookiefile, os.R_OK): self.cookiejar.load() - cookie_processor = compat_urllib_request.HTTPCookieProcessor( - self.cookiejar) + cookie_processor = YoutubeDLCookieProcessor(self.cookiejar) if opts_proxy is not None: if opts_proxy == '': proxies = {} |