From d16d1e4c7a9e4b4a0252f8762bbc6a45f276a84d Mon Sep 17 00:00:00 2001 From: Abhijeet213 Date: Fri, 16 May 2025 10:51:40 +0530 Subject: [PATCH] somecheck --- yt_dlp/cookies.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yt_dlp/cookies.py b/yt_dlp/cookies.py index 561b769900..0d11c2b8b2 100644 --- a/yt_dlp/cookies.py +++ b/yt_dlp/cookies.py @@ -1383,6 +1383,7 @@ def get_cookies_for_url(self, url): # Ref: https://github.com/python/cpython/blob/3.7/Lib/http/cookiejar.py#L1360 self._policy._now = self._now = int(time.time()) return self._cookies_for_request(urllib.request.Request(normalize_url(sanitize_url(url)))) + def clear(self, *args, **kwargs): with contextlib.suppress(KeyError): - return super().clear(*args, **kwargs) \ No newline at end of file + return super().clear(*args, **kwargs)