From 1276b86e01c4ad9e8c9982a96525ba1ab29ca7dd Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Sat, 26 Apr 2025 11:23:32 +1200 Subject: [PATCH] [ie/youtube] Keep throwing the cookie error --- yt_dlp/extractor/youtube/_base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/yt_dlp/extractor/youtube/_base.py b/yt_dlp/extractor/youtube/_base.py index e4bdaf8d50..4a6b81b5d3 100644 --- a/yt_dlp/extractor/youtube/_base.py +++ b/yt_dlp/extractor/youtube/_base.py @@ -616,7 +616,6 @@ class YoutubeBaseInfoExtractor(InfoExtractor): # Check that we are still logged-in and cookies have not rotated after every request if self._had_cookie_auth and not self._has_auth_cookies(): - self._had_cookie_auth = False raise ExtractorError( 'The provided YouTube account cookies are no longer valid. ' 'They have likely been rotated in the browser as a security measure. '