Open Anima1337 opened 2 years ago
Same here.
I had the same issue, apparently its due to instagram making changes to its source code.
I first uninstalled instapy in CMD(command prompt): py -m pip uninstall InstaPy
Then installed this version of InstaPy with the Fix already updated. I didn't feel like manually looking for the file and updating it. py -m pip install git+https://github.com/ErwinKoekoek/InstaPy.git@master
You can also have a look at this for more info: https://github.com/InstaPy/InstaPy/issues/6472
Also: Currently another issue is the follow and unfollow function, I've managed to find a fix for the follow button but nothing for the unfollow button
I had the same issue, apparently its due to instagram making changes to its source code.
I first uninstalled instapy in CMD(command prompt): py -m pip uninstall InstaPy
Then installed this version of InstaPy with the Fix already updated. I didn't feel like manually looking for the file and updating it. py -m pip install git+https://github.com/ErwinKoekoek/InstaPy.git@master
You can also have a look at this for more info: #6472
Also: Currently another issue is the follow and unfollow function, I've managed to find a fix for the follow button but nothing for the unfollow button
Thank you, that did work. Do you mind sharing the fix for the following function also? Unfollow never worked for me anyway so I am used to manually unfollow
In the xpath_compile.py file change
line 97
This:
xpath["get_following_status"] = { "follow_button_XP": "//button[text()='Following' or \ text()='Requested' or \ text()='Follow' or \ text()='Follow Back' or \ text()='Unblock' and not(ancestor::*/@role = 'presentation')]", "follow_span_XP_following": "//button/div/span[contains(@aria-label, 'Following')]", }
To This:
xpath["get_following_status"] = { "follow_button_XP": "//button/div[text()='Following' or \ text()='Requested' or \ text()='Follow' or \ text()='Follow Back' or \ text()='Unblock' and not(ancestor::*/@role = 'presentation')]", "follow_span_XP_following": "//button/div/span[contains(@aria-label, 'Following')]", }
You'll start getting this as a result, but it works: "Hey! Last follow is not verified out of an unexpected failure!"
It says "Couldn't follow '[name]'! ~user is inaccessible" for me and it does not follow for me either
Maybe its the way the code is structured, I'll just link the source for the solution instead. https://github.com/InstaPy/InstaPy/issues/6492
Formatting does matter. Thought I did it right but I didn't. The first solution didn't work but the second did. Thanks a ton mate (:
Likes and Following are working with all these fixes on my side. Any news for the unfollow ?
Sadly not from my side
Likes and follow-ups work, but comments do not work !!!!! When I enable commenting, I get the same error Does anyone have a solution to this issue? thanks all Error : File "C:\Users\Ali\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\util.py", line 523, in getMediaData data = additional_data["graphql"]["shortcode_media"]
Any news with unfollow?
Any news with unfollow?
Not I just want the robot to like, follow and comment
Hey, InstaPy worked flawlessly the last weeks. Now it automatically updated and I get this message before it stops:
It does fetch the posts from the specified hashtags but as soon as it wants to like or comments (idk at what point it stops), it stops working and just says:
Expected Behavior
Fetch posts from hashtags, like / comment and go on to other posts
Current Behavior
fetches posts from hashtags, goes to first post and then ends the program.
Possible Solution (optional)
InstaPy configuration