aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils/_legacy.py
diff options
context:
space:
mode:
authorcoletdjnz <coletdjnz@protonmail.com>2023-05-27 19:08:19 +1200
committerGitHub <noreply@github.com>2023-05-27 07:08:19 +0000
commitb87e01c123fd560b6a674ce00f45a9459d82d98a (patch)
treecb735612a6c52e6bcf994f50869063503e7fcc68 /yt_dlp/utils/_legacy.py
parent08916a49c777cb6e000eec092881eb93ec22076c (diff)
downloadhypervideo-pre-b87e01c123fd560b6a674ce00f45a9459d82d98a.tar.lz
hypervideo-pre-b87e01c123fd560b6a674ce00f45a9459d82d98a.tar.xz
hypervideo-pre-b87e01c123fd560b6a674ce00f45a9459d82d98a.zip
[cookies] Move `YoutubeDLCookieJar` to cookies module (#7091)
Authored by: coletdjnz
Diffstat (limited to 'yt_dlp/utils/_legacy.py')
-rw-r--r--yt_dlp/utils/_legacy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/utils/_legacy.py b/yt_dlp/utils/_legacy.py
index b0578a1d6..1097778f0 100644
--- a/yt_dlp/utils/_legacy.py
+++ b/yt_dlp/utils/_legacy.py
@@ -10,6 +10,9 @@ from ._utils import decode_base_n, preferredencoding
from .traversal import traverse_obj
from ..dependencies import certifi, websockets
+# isort: split
+from ..cookies import YoutubeDLCookieJar # noqa: F401
+
has_certifi = bool(certifi)
has_websockets = bool(websockets)