diff --git a/yt_dlp/extractor/youtube/_base.py b/yt_dlp/extractor/youtube/_base.py index 4a6b81b5d3..69a8f49150 100644 --- a/yt_dlp/extractor/youtube/_base.py +++ b/yt_dlp/extractor/youtube/_base.py @@ -616,11 +616,10 @@ 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(): - raise ExtractorError( + self.report_warning( 'The provided YouTube account cookies are no longer valid. ' 'They have likely been rotated in the browser as a security measure. ' - f'For tips on how to effectively export YouTube cookies, refer to {self._COOKIE_HOWTO_WIKI_URL} .', - expected=True) + f'For tips on how to effectively export YouTube cookies, refer to {self._COOKIE_HOWTO_WIKI_URL} .') return response