-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accepting cookie #5815
Comments
Try to apply the fix and remove log folder but nothing change... |
Yes I have the same issue when I remove the cookies. When I delete the cookies, I need to accept the cookies policies from instagram again. So the solution is not remove the cookies but if you did, need to accept the cookies policies again. Some fix for this? I already have changed the title for Instagram. This is not the problem anymore, for me at least. |
|
HI @Polkyanik |
@elulcao tnx |
How exactly to change "Login" text to "Instagram"? Which .py script and which line? |
Having the same issue here. |
Is the problem already solved? |
I resolve only connect to my raspberry via vnc, start the script and manually click on "accept coockies"... |
I’m on Mac OS. Is possible manually add cookie files into instapy folder? If yes, how can I find the correct folder? |
Sorry, is impossibile to create and put in folder the cookie file. |
Basically guys, if you are using the browser and running the script on your computer, headless. Then you just need to update the xpath by adding the "Accept Cookie" button. Then in login.py make sure it accepts cookie first and then updates browser activity. Its not that difficult and since I ALWAYS have to accept cookie for some reason, this solution seems to work |
Hi All,
|
This is my quick and dirty fix. Place it before .login() call.
|
Which file I have to correct? |
Thanks. This helped me with my cookie issue I reported here: |
|
Where do i find the login.py file to add youre code? Thanks for your help! EDIT: Found path it is as following: C:\Users[WindowsUser]\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\instapy |
C:\Users[WindowsUser]\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\instapy |
Guys just the following code into the login_util.py file! If you could not find the file, than just use the debugger of your IDE and go step by step through you quickfile.py ........
Here comes the important code to put in !!!!!
here the important code ends!!!!!!
|
Hello @Abassina, Was this fix merged in the repo so we can get benefice from it just by pulling the module instead of hacking the code which might be overridden in case of a new release or reinstall? I did a clean install and seems like this problem is still there. Thanks yall for your contribution :) |
@boina-n |
I believe yes, as I did this command to upgrade the module: pip install git+https://github.com/timgrossmann/InstaPy.git --upgrade |
There's this annoying popup that shows up now when connecting to instagram. Does anyone know where in login.py I should code the new browser.click() for accepting cookies?
The text was updated successfully, but these errors were encountered: