From 04821f5f76797fd52e591918737c730fa2d1e1db Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 26 Jul 2016 13:53:47 +0200 Subject: [PATCH] print username in password prompt --- instaloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instaloader.py b/instaloader.py index 4b73c61..5094fba 100755 --- a/instaloader.py +++ b/instaloader.py @@ -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: