mirror of
https://github.com/instaloader/instaloader.git
synced 2024-11-04 09:22:29 +01:00
parent
87dc82d1b1
commit
a88316224b
@ -212,7 +212,7 @@ class InstaloaderContext:
|
|||||||
raise TwoFactorAuthRequiredException("Login error: two-factor authentication required.")
|
raise TwoFactorAuthRequiredException("Login error: two-factor authentication required.")
|
||||||
if resp_json.get('checkpoint_url'):
|
if resp_json.get('checkpoint_url'):
|
||||||
raise ConnectionException("Login: Checkpoint required. Point your browser to "
|
raise ConnectionException("Login: Checkpoint required. Point your browser to "
|
||||||
"https://www.instagram.com{}, "
|
"https://www.instagram.com{} - "
|
||||||
"follow the instructions, then retry.".format(resp_json.get('checkpoint_url')))
|
"follow the instructions, then retry.".format(resp_json.get('checkpoint_url')))
|
||||||
if resp_json['status'] != 'ok':
|
if resp_json['status'] != 'ok':
|
||||||
if 'message' in resp_json:
|
if 'message' in resp_json:
|
||||||
|
Loading…
Reference in New Issue
Block a user