aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/common.py
diff options
context:
space:
mode:
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):