Open zahra-ash0uri opened 4 years ago
Hi there, instagram methods change due 2020. You need to listen to headers when using browser for creating account and then Re-engine the requests. GL
i have issues on the email verification code whenever i try to put it on instagram, it says that it's wrong. does instagram detect automation? do you kbnow some tricks to help me?
i have issues on the email verification code whenever i try to put it on instagram, it says that it's wrong. does instagram detect automation? do you kbnow some tricks to help me?
use beautifulsoup
from bs4 import BeautifulSoup
code = []
def check():
g = 0
while g == 0:
try:
time.sleep(5)
htm = str(driver.page_source)
soup = BeautifulSoup(htm , "html.parser")
for i in soup.select("span"):
if g == 0:
if "is your Instagram code" in i.text:
b = i.text.split(" ")
code.append(b[0])
print(code[0])
g += 1
except:
check()
Hi, Does this repo work? I tried requests bot and got error 405. I think the url to send request has been changed.