-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Expected Behavior
That it wil like my home feed.
Current Behavior
indows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Users\anon\OneDrive - anon\Bureaublad\InstaPy-master\InstaPy-master\instapy> & C:/Users/anon/AppData/Local/Programs/Python/Python310/python.exe "c:/Users/anon/OneDrive - anon/Documenten/sla;sd.py"
InstaPy Version: 0.6.20
.. .. .. .. .. .. .. .. ._.
Workspace in use: "C:/Users/anon/InstaPy"
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2022-07-12 10:36:10] [anon] Session started!
oooooooooooooooooooooooooooooooooooooooooooooooooooooo
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] find the button
INFO [2022-07-12 10:36:13] [anon] Clicking accept all cookies button ...
INFO [2022-07-12 10:36:13] [anon] Sleeping 4 seconds ...
INFO [2022-07-12 10:36:22] [anon] - Cookie file for user 'anon' loaded...
.............................................................
INFO [2022-07-12 10:36:48] [anon] Logged in successfully!
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
INFO [2022-07-12 10:36:48] [anon] Saving account progress...
WARNING [2022-07-12 10:36:51] [anon] Unable to save account progress, skipping data update
b"'NoneType' object has no attribute 'get'"
INFO [2022-07-12 10:37:20] [anon] Total of links feched for analysis: 0
Traceback (most recent call last):
File "c:\Users\anon\OneDrive - anon\Documenten\sla;sd.py", line 22, in
session.like_by_feed(amount=30, randomize=False, unfollow=False, interact=False)
File "C:\Users\anon\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\instapy.py", line 4440, in like_by_feed
for _ in self.like_by_feed_generator(amount, randomize, unfollow, interact):
File "C:\Users\anon\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\instapy.py", line 4484, in like_by_feed_generator
links = get_links_from_feed(
File "C:\Users\anon\AppData\Local\Programs\Python\Python310\lib\site-packages\instapy\like_util.py", line 61, in get_links_from_feed
link_elems = browser.find_elements(
File "C:\Users\anon\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 1284, in find_elements
return self.execute(Command.FIND_ELEMENTS, {
File "C:\Users\anon\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 430, in execute
self.error_handler.check_response(response)
File "C:\Users\anon\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: TypeError: browsingContext.currentWindowGlobal is null
Stacktrace:
getMarionetteCommandsActorProxy/get/<@chrome://remote/content/marionette/actors/MarionetteCommandsParent.jsm:332:29
keeps doing INFO [2022-07-12 10:37:20] [anon] Total of links feched for analysis: 0 over and over
Possible Solution (optional)
Have no idea
InstaPy configuration
from instapy import InstaPy
#from instapy import smart_run
login credentials
insta_username = 'anon'
insta_password = 'xxxx'
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,
want_check_browser=False)
session.login()
#with smart_run:
session.like_by_feed(amount=30, randomize=False, unfollow=False, interact=False)
session.end()