1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-04 04:52:52 -05:00

[instagram] Show appropriate error when login is needed

Closes #1264
This commit is contained in:
pukkandan
2021-10-14 14:35:10 +05:30
parent d5a39f0bad
commit a0c716bb61
2 changed files with 5 additions and 3 deletions

View File

@ -441,8 +441,8 @@ class InfoExtractor(object):
_LOGIN_HINTS = {
'any': 'Use --cookies, --username and --password or --netrc to provide account credentials',
'cookies': (
'Use --cookies for the authentication. '
'See https://github.com/ytdl-org/youtube-dl#how-do-i-pass-cookies-to-youtube-dl for how to pass cookies'),
'Use --cookies-from-browser or --cookies for the authentication. '
'See https://github.com/ytdl-org/youtube-dl#how-do-i-pass-cookies-to-youtube-dl for how to manually pass cookies'),
'password': 'Use --username and --password or --netrc to provide account credentials',
}