mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-11 11:24:01 +00:00
Revert "[ie/youtube] revert back to warning"
This reverts commit 595d9b90417ad61b4c7493cbc4ca4f1ad0d7cf37.
This commit is contained in:
parent
595d9b9041
commit
d26bfa7fde
@ -616,10 +616,11 @@ 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.report_warning(
|
||||
raise ExtractorError(
|
||||
'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} .')
|
||||
f'For tips on how to effectively export YouTube cookies, refer to {self._COOKIE_HOWTO_WIKI_URL} .',
|
||||
expected=True)
|
||||
|
||||
return response
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user