mirror of
https://github.com/instaloader/instaloader.git
synced 2026-10-16 13:48:03 -07:00
Add notice of 2FA currently not working
This commit is contained in:
@@ -160,6 +160,10 @@ def _main(instaloader: Instaloader, targetlist: List[str],
|
|||||||
try:
|
try:
|
||||||
instaloader.login(username, password)
|
instaloader.login(username, password)
|
||||||
except TwoFactorAuthRequiredException:
|
except TwoFactorAuthRequiredException:
|
||||||
|
# https://github.com/instaloader/instaloader/issues/1217
|
||||||
|
instaloader.context.error("Warning: There have been reports of 2FA currently not working. "
|
||||||
|
"Consider importing session cookies from your browser with "
|
||||||
|
"--load-cookies.")
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
code = input("Enter 2FA verification code: ")
|
code = input("Enter 2FA verification code: ")
|
||||||
|
|||||||
Reference in New Issue
Block a user