diff options
author | coletdjnz <coletdjnz@protonmail.com> | 2023-05-27 19:08:19 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 07:08:19 +0000 |
commit | b87e01c123fd560b6a674ce00f45a9459d82d98a (patch) | |
tree | cb735612a6c52e6bcf994f50869063503e7fcc68 /yt_dlp/extractor/common.py | |
parent | 08916a49c777cb6e000eec092881eb93ec22076c (diff) | |
download | hypervideo-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/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 1b1dd560f..306911a6c 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -3444,7 +3444,7 @@ class InfoExtractor: def _get_cookies(self, url): """ Return a http.cookies.SimpleCookie with the cookies for the url """ - return LenientSimpleCookie(self._downloader._calc_cookies(url)) + return LenientSimpleCookie(self._downloader.cookiejar.get_cookie_header(url)) def _apply_first_set_cookie_header(self, url_handle, cookie): """ |