Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Still works? #153

Open
zahra-ash0uri opened this issue Aug 12, 2020 · 3 comments
Open

Still works? #153

zahra-ash0uri opened this issue Aug 12, 2020 · 3 comments

Comments

@zahra-ash0uri
Copy link

Hi, Does this repo work? I tried requests bot and got error 405. I think the url to send request has been changed.

@pouriamdr
Copy link

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

@federicoromeo
Copy link

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?

@hossein-mohseni
Copy link

hossein-mohseni commented Jul 14, 2021

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()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants