aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-10-14 14:35:10 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-10-14 14:44:29 +0530
commita0c716bb618e525b3fbafd4ba19a8ea345db7afc (patch)
tree7dc31edfcb8e9e12148257054b5069e2e2a22142 /yt_dlp/extractor/common.py
parentd5a39f0badbf6155eeed5c03d14489227fc9dab2 (diff)
downloadhypervideo-pre-a0c716bb618e525b3fbafd4ba19a8ea345db7afc.tar.lz
hypervideo-pre-a0c716bb618e525b3fbafd4ba19a8ea345db7afc.tar.xz
hypervideo-pre-a0c716bb618e525b3fbafd4ba19a8ea345db7afc.zip
[instagram] Show appropriate error when login is needed
Closes #1264
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 14201c538..4f358c53b 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -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',
}