mpawlak2 / instalike-instagram-bot

automate instagram activities using instagram bot - like follow/unfollow comment; python requests lib
https://github.com/mpawlak2/instalike-instagram-bot
143 stars 43 forks source link

Hi. It stopped working for me #34

Open chinciusan opened 6 years ago

chinciusan commented 6 years ago

Trying to log in ... Traceback (most recent call last): File "main.py", line 10, in <module> main() File "main.py", line 6, in main bot.start() File "/home/pi/Projects/scrise_bot/instabot.py", line 61, in start while(not self.log_in()): File "/home/pi/Projects/scrise_bot/instabot.py", line 45, in log_in response = self.operation.log_in(self.configuration.instagram_username, self.configuration.instagram_password) File "/home/pi/Projects/scrise_bot/operation.py", line 46, in log_in self.prepare_request(response) File "/home/pi/Projects/scrise_bot/operation.py", line 99, in prepare_request 'x-csrftoken': request_response.cookies['csrftoken'], File "/usr/lib/python3/dist-packages/requests/cookies.py", line 276, in __getitem__ return self._find_no_duplicates(name) File "/usr/lib/python3/dist-packages/requests/cookies.py", line 331, in _find_no_duplicates raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path)) KeyError: "name='csrftoken', domain=None, path=None"

chnaski commented 6 years ago

same

lcostaracing7 commented 6 years ago

same here

stevecohenfr commented 5 years ago

same :(

ermiyaeskandary commented 5 years ago

From what I can see in the python log, something to do with login is messed up. Might look into it

On Mon, 4 Mar 2019, 18:43 Steve Cohen, notifications@github.com wrote:

same :(

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mpawlak2/instalike-instagram-bot/issues/34#issuecomment-469370682, or mute the thread https://github.com/notifications/unsubscribe-auth/ARhKUM5bSln4U9DZlBI0JhvlqRUJBWrnks5vTWldgaJpZM4UPvf9 .

ermiyaeskandary commented 5 years ago

Domain and path for CSRF token is not mapping - probably Instagram API change

On Mon, 4 Mar 2019, 18:43 Steve Cohen, notifications@github.com wrote:

same :(

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mpawlak2/instalike-instagram-bot/issues/34#issuecomment-469370682, or mute the thread https://github.com/notifications/unsubscribe-auth/ARhKUM5bSln4U9DZlBI0JhvlqRUJBWrnks5vTWldgaJpZM4UPvf9 .