mirror of
https://github.com/instaloader/instaloader.git
synced 2024-09-11 16:22:24 +02:00
print username in password prompt
This commit is contained in:
parent
283c05f47c
commit
04821f5f76
@ -268,7 +268,7 @@ def get_logged_in_session(username, password=None, quiet=False):
|
||||
raise LoginRequiredException("Quiet mode requires given password or valid "
|
||||
"session file.")
|
||||
while password is None:
|
||||
password = getpass.getpass(prompt='Enter your Instagram password: ')
|
||||
password = getpass.getpass(prompt="Enter Instagram password for %s: " % username)
|
||||
try:
|
||||
return get_session(username, password)
|
||||
except BadCredentialsException as err:
|
||||
|
Loading…
Reference in New Issue
Block a user