Skip to content

Commit

Permalink
New verify_email_code step. Import random module.
Browse files Browse the repository at this point in the history
  • Loading branch information
KolyaDobrydnev committed Jul 16, 2023
1 parent f114566 commit 17f844c
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 17f844c

Please sign in to comment.