You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lately Instagram shows the user a PopUp to Accept Cookies.
InstaPy doesn't handle that yet, so every LogIn fails.
I fixed it myself so if you need it too, just copy my Code:
Find your Python Instapy directory. (For me it is somewhere in C:\Users\YOUR_USER\AppData\Local\Packages\)
Open the instapy directory and find login_util.py
Go to the line right befor the Login (For me thats around line 273)
Copy following Code in there
#Check if Cookie PopUp is visible
try:
cookie_elem = browser.find_element_by_xpath("//button[text()='Accept']")
except:
cookie_elem = None
if cookie_elem is not None:
cookie_elem.click()
If this is too much for you, just download my attached file and put it in your instapy directory. login_util.zip
The text was updated successfully, but these errors were encountered:
Lately Instagram shows the user a PopUp to Accept Cookies.
InstaPy doesn't handle that yet, so every LogIn fails.
I fixed it myself so if you need it too, just copy my Code:
C:\Users\YOUR_USER\AppData\Local\Packages\
)login_util.py
line 273
)If this is too much for you, just download my attached file and put it in your instapy directory.
login_util.zip
The text was updated successfully, but these errors were encountered: