[ie/youtube] Keep throwing the cookie error

This commit is contained in:
coletdjnz 2025-04-26 11:23:32 +12:00
parent 7cb1c0507f
commit 1276b86e01
No known key found for this signature in database
GPG Key ID: 91984263BB39894A

View File

@ -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. '