|
|
@ -69,6 +69,7 @@ from .utils import (
|
|
|
|
version_tuple,
|
|
|
|
version_tuple,
|
|
|
|
write_json_file,
|
|
|
|
write_json_file,
|
|
|
|
write_string,
|
|
|
|
write_string,
|
|
|
|
|
|
|
|
YoutubeDLCookieProcessor,
|
|
|
|
YoutubeDLHandler,
|
|
|
|
YoutubeDLHandler,
|
|
|
|
prepend_extension,
|
|
|
|
prepend_extension,
|
|
|
|
replace_extension,
|
|
|
|
replace_extension,
|
|
|
@ -1943,8 +1944,7 @@ class YoutubeDL(object):
|
|
|
|
if os.access(opts_cookiefile, os.R_OK):
|
|
|
|
if os.access(opts_cookiefile, os.R_OK):
|
|
|
|
self.cookiejar.load()
|
|
|
|
self.cookiejar.load()
|
|
|
|
|
|
|
|
|
|
|
|
cookie_processor = compat_urllib_request.HTTPCookieProcessor(
|
|
|
|
cookie_processor = YoutubeDLCookieProcessor(self.cookiejar)
|
|
|
|
self.cookiejar)
|
|
|
|
|
|
|
|
if opts_proxy is not None:
|
|
|
|
if opts_proxy is not None:
|
|
|
|
if opts_proxy == '':
|
|
|
|
if opts_proxy == '':
|
|
|
|
proxies = {}
|
|
|
|
proxies = {}
|
|
|
|