1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-07-10 07:18:33 +00:00

More Check SOlved

This commit is contained in:
Abhijeet213 2025-05-16 10:47:25 +05:30
parent cff2dd17f7
commit d8e9195e9b

View File

@ -1383,7 +1383,6 @@ 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)