Improve cookies hint

Authored by: bashonly
This commit is contained in:
bashonly 2024-11-15 14:04:55 -06:00
parent 6e609fbd38
commit a02f6ae586
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -586,7 +586,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
@property
def _youtube_login_hint(self):
return (f'{self._login_hint(method="cookies")}. '
'See https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies for help with cookies')
'See https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies '
'for tips on effectively exporting Youtube cookies')
def _check_login_required(self):
if self._LOGIN_REQUIRED and not self.is_authenticated: