aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/common.py
diff options
context:
space:
mode:
authorbashonly <bashonly@bashonly.com>2023-07-04 16:40:56 -0500
committerdirkf <fieldhouse@gmx.net>2023-07-18 10:50:46 +0100
commit21438a4194376c3a9b1e5c322c825d43a1b03d6e (patch)
treea5a50e6b9d99e4a4bda08604682addd275ce7207 /youtube_dl/downloader/common.py
parent8334ec961b802ad7ef8571b776c5fc727206dc9b (diff)
downloadyoutube-dl-21438a4194376c3a9b1e5c322c825d43a1b03d6e.tar.xz
[downloader/external] Fix cookie support
Diffstat (limited to 'youtube_dl/downloader/common.py')
-rw-r--r--youtube_dl/downloader/common.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/youtube_dl/downloader/common.py b/youtube_dl/downloader/common.py
index 08c98b336..afb4ee33d 100644
--- a/youtube_dl/downloader/common.py
+++ b/youtube_dl/downloader/common.py
@@ -13,9 +13,7 @@ from ..utils import (
error_to_compat_str,
format_bytes,
shell_quote,
- T,
timeconvert,
- traverse_obj,
)
@@ -379,9 +377,6 @@ class FileDownloader(object):
else '%.2f' % sleep_interval))
time.sleep(sleep_interval)
- info_dict['http_headers'] = dict(traverse_obj(info_dict, (
- 'http_headers', T(dict.items), lambda _, pair: pair[0].lower() != 'cookie'))) or None
-
return self.real_download(filename, info_dict)
def real_download(self, filename, info_dict):