[cookies] Move YoutubeDLCookieJar to cookies module (#7091)
Authored by: coletdjnz
This commit is contained in:
parent
08916a49c7
commit
b87e01c123
6 changed files with 157 additions and 137 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue