InstaPy / InstaPy

📷 Instagram Bot - Tool for automated Instagram interactions
GNU General Public License v3.0
16.85k stars 3.77k forks source link

Anyone else getting this message? "Image was not able to get Liked! maybe blocked ?" #4359

Closed crowg closed 5 years ago

crowg commented 5 years ago

--> Image was not able to get Liked! maybe blocked ? --> Invalid Like Element! I am getting this message on every pic that should be liked... Before anyone ask, I am not blocked on instagram. And I am checking to see if anyone else is getting the same thing and would anyone know why this would be coming up on every photo?

scottgrayson commented 5 years ago

I get it as well. "Invalid Like Element" makes it seem like Instagram updated their website and the "Like Element" selectors need to be updated for the script https://github.com/timgrossmann/InstaPy/blob/master/instapy/like_util.py#L675

ghost commented 5 years ago

Same here: --> Image was not able to get Liked! maybe blocked ?

matteblacktrees commented 5 years ago

Same for us. No liking capability.

andrijasinski commented 5 years ago

Same here in headless browser mode. Also, unfollowing does not work in a headless browser.

INFO [2019-04-27 13:24:00] [iamkatrln] --> Already unfollowed 'elescosmetics'! or a private user that rejected your req

But the user is followed.

crowg commented 5 years ago

@timgrossmann

Harosteadi commented 5 years ago

Same here since 25th. Only in headless browser mode. I can like trough app and web so I think I am not banned. I also have the problem @andrijasinski mentioned for unfollow feature.

Harosteadi commented 5 years ago

3676

ghost commented 5 years ago

Workaround: switch off headless browser mode (headless_browser=False) Please update if it is possible to use the like feature again with headless browser mode on.

andrijasinski commented 5 years ago

@timgrossmann need your attention here. This bug blocks usage if non headless browser is not an option.

zachcolbert commented 5 years ago

Downgrade chrome browser to 72 and block auto update

Harosteadi commented 5 years ago

Many people found bugs with version 74 on MacOS. An example (open with chrome browser).

Whole list of bugs posted.

What I found and worked for me is downgrade from v.74 to v.72 following these steps Ian Zabel posted on GitHub.

I suppose that Google ChromeDriver will be updated soon with these bug fixed, for now, downgrade is the temporary solution.

andrijasinski commented 5 years ago

Thanks, will give it a try later

SirCipher commented 5 years ago

An alternative is to use Firefox and Gecko. This is working fine for me!

crowg commented 5 years ago

I updated Instapy 2 days ago from the 4 day ago update. Now the chrome driver does not work at all. i keep getting this message.

"Message: unknown error: unable to discover open pages (Driver info: chromedriver=2.46.628411 (3324f4c8be9ff2f70a05a30ebc72ffb013e1a71e),platform=Mac OS X 10.13.6 x86_64) Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instapy/browser.py", line 146, in set_selenium_local_session chrome_options=chrome_options) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init desired_capabilities=desired_capabilities) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init self.start_session(capabilities, browser_profile) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: unable to discover open pages (Driver info: chromedriver=2.46.628411 (3324f4c8be9ff2f70a05a30ebc72ffb013e1a71e),platform=Mac OS X 10.13.6 x86_64)

Traceback (most recent call last): File "quickstart.py", line 16, in headless_browser=False,) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instapy/instapy.py", line 295, in init self.set_selenium_local_session() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instapy/instapy.py", line 349, in set_selenium_local_session raise InstaPyError(err_msg) instapy.exceptions.InstaPyError: ensure chromedriver is installed at /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/instapy_chromedriver/chromedriver_mac64"

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue

quintendewilde commented 4 years ago

I have this on Rasberry pi? I'm not sure if there is a solution for this or not??

@wontfix ??