Thanks so much for this!
I just got my Pi and wanted it to do more stuff.
I am having issues starting the bot however, it says:
23.05.2018_00:47 Instabot v1.2.0 started at 23.05.2018 00:47:
"23.05.2018_00:47 Trying to login as XXX...
Traceback (most recent call last):
File "/home/pi/bot/instabot.py/followbot.py", line 52, in
unfollow_whitelist=['example_user_1', 'example_user_2'])
File "/home/pi/bot/instabot.py/src/instabot.py", line 232, in init
self.login()
File "/home/pi/bot/instabot.py/src/instabot.py", line 283, in login
self.s.headers.update({'X-CSRFToken': r.cookies['csrftoken']})
File "/usr/local/lib/python2.7/dist-packages/requests/cookies.py", line 329, in getitem
return self._find_no_duplicates(name)
File "/usr/local/lib/python2.7/dist-packages/requests/cookies.py", line 400, in _find_no_duplicates
raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
KeyError: "name='csrftoken', domain=None, path=None""
What are these errors and how do I fix it? Also how do I tell if the bot is running?
Thanks!
I just got my Pi and wanted it to do more stuff.
I am having issues starting the bot however, it says:
23.05.2018_00:47 Instabot v1.2.0 started at 23.05.2018 00:47:
"23.05.2018_00:47 Trying to login as XXX...
Traceback (most recent call last):
File "/home/pi/bot/instabot.py/followbot.py", line 52, in
unfollow_whitelist=['example_user_1', 'example_user_2'])
File "/home/pi/bot/instabot.py/src/instabot.py", line 232, in init
self.login()
File "/home/pi/bot/instabot.py/src/instabot.py", line 283, in login
self.s.headers.update({'X-CSRFToken': r.cookies['csrftoken']})
File "/usr/local/lib/python2.7/dist-packages/requests/cookies.py", line 329, in getitem
return self._find_no_duplicates(name)
File "/usr/local/lib/python2.7/dist-packages/requests/cookies.py", line 400, in _find_no_duplicates
raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
KeyError: "name='csrftoken', domain=None, path=None""
What are these errors and how do I fix it? Also how do I tell if the bot is running?
Thanks!