Skip to content

Commit

Permalink
Merge pull request #1463 from Yessirskiy/master
Browse files Browse the repository at this point in the history
New verify_email_code step. Import random module.
  • Loading branch information
adw0rd committed Jul 16, 2023
2 parents f114566 + 17f844c commit a4651b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion instagrapi/mixins/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import time
from enum import Enum
from typing import Dict
import random

import requests

Expand Down Expand Up @@ -380,7 +381,7 @@ def challenge_resolve_simple(self, challenge_url: str) -> bool:
},
)
return True
elif step_name in ("verify_email", "select_verify_method"):
elif step_name in ("verify_email", "verify_email_code", "select_verify_method"):
if step_name == "select_verify_method":
"""
{'step_name': 'select_verify_method',
Expand Down

0 comments on commit a4651b3

Please sign in to comment.