mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-06-05 16:30:50 +00:00
Update yt_dlp/cookies.py
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
This commit is contained in:
parent
4f3ad96f2c
commit
bf4ac4df74
|
@ -347,9 +347,7 @@ def _process_chrome_cookie(decryptor, host_key, name, value, encrypted_value, pa
|
|||
if value is None:
|
||||
return is_encrypted, None
|
||||
|
||||
if has_expires == 1:
|
||||
expires_utc = expires_utc
|
||||
else:
|
||||
if not has_expires:
|
||||
expires_utc = None
|
||||
|
||||
return is_encrypted, http.cookiejar.Cookie(
|
||||
|
|
Loading…
Reference in New Issue
Block a user