interactively prompt for passwords on login when none is provided

This commit is contained in:
Mike Fährmann
2023-12-06 21:31:31 +01:00
parent db978b34f1
commit 9dd5cb8c8a
3 changed files with 14 additions and 2 deletions

View File

@@ -233,7 +233,7 @@ class Extractor():
password = None
if username:
password = self.config("password")
password = self.config("password") or util.LazyPrompt()
elif self.config("netrc", False):
try:
info = netrc.netrc().authenticators(self.category)