mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-29 06:06:09 +00:00
Improve cookies hint
Authored by: bashonly
This commit is contained in:
parent
6e609fbd38
commit
a02f6ae586
@ -586,7 +586,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
|||||||
@property
|
@property
|
||||||
def _youtube_login_hint(self):
|
def _youtube_login_hint(self):
|
||||||
return (f'{self._login_hint(method="cookies")}. '
|
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):
|
def _check_login_required(self):
|
||||||
if self._LOGIN_REQUIRED and not self.is_authenticated:
|
if self._LOGIN_REQUIRED and not self.is_authenticated:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user