instapy-docs
instapy-docs copied to clipboard
Error during 1st run of instapy
Hi All,
Managed to install instapy, successful I think㪠Made a very simple quickstart.py which only likes my own feed
During the first start up I encounter the following error but I can not make sense of it
Can someone help?
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO INFO [2019-08-18 10:49:30] [utpeertje] Session started! oooooooooooooooooooooooooooooooooooooooooooooooooooooo INFO [2019-08-18 10:49:30] [utpeertje] -- Connection Checklist [1/3] (Internet Connection Status) INFO [2019-08-18 10:49:32] [utpeertje] - Internet Connection Status: ok INFO [2019-08-18 10:49:32] [utpeertje] - Current IP is "85.145.xxx.xxx" and it's from "Netherlands/NL" INFO [2019-08-18 10:49:32] [utpeertje] -- Connection Checklist [2/3] (Instagram Server Status) INFO [2019-08-18 10:49:46] [utpeertje] - Instagram WebSite Status: Currently Up INFO [2019-08-18 10:49:46] [utpeertje] - Instagram Response Time: 49.386 ms INFO [2019-08-18 10:49:46] [utpeertje] - Instagram Reponse Code: 200 INFO [2019-08-18 10:49:46] [utpeertje] - Instagram Server Status: ok INFO [2019-08-18 10:49:46] [utpeertje] -- Connection Checklist [3/3] (Hide Selenium Extension) INFO [2019-08-18 10:49:46] [utpeertje] - window.navigator.webdriver response: False INFO [2019-08-18 10:49:46] [utpeertje] - Hide Selenium Extension: ok Cookie file not found, creating cookie... Login A/B test detected! Trying another string...
....................................................................................................................... CRITICAL [2019-08-18 10:50:06] [utpeertje] Unable to login to Instagram! You will find more information in the logs above. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
INFO [2019-08-18 10:50:08] [utpeertje] Sessional Live Report: |> No any statistics to show
[Session lasted 52.09 seconds]
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO INFO [2019-08-18 10:50:08] [utpeertje] Session ended! oooooooooooooooooooooooooooooooooooooooooooooooooooooo
This is my quickstart.py π
imports
from instapy import InstaPy from instapy import smart_run
login credentials
insta_username = 'utpeertje' insta_password = 'Xxxxx'
comments = [u':heart::white_circle::yellow_heart: @{}', u':heart::thought_balloon::yellow_heart: @{}']
get an InstaPy session!
set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username, password=insta_password, headless_browser=False)
with smart_run(session): """ Activity flow """
general settings
session.like_by_feed(amount=100, randomize=True, unfollow=False, interact=True)
Hello there!
Try to run InstaPy with the graphical browser (headless=False
) to see what happens
@TheFakeWater I also have this problem, have you found a solution?
Cookie file not found, creating cookie... INFO [2020-09-25 14:14:32] [----------] Timed out with failure while explicitly waiting until title contains 'Login' string! INFO [2020-09-25 14:14:32] [----------] Timed out with failure while explicitly waiting until visibility of element located! Traceback (most recent call last):
Raspberry Pi 4 InstaPy Version: 0.6.10 Mozilla Firefox 68.12.0esr geckodriver 0.23.0 ( 2018-10-04) python3.7 selenium 3.141.0