Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #2

Open
wants to merge 190 commits into
base: master
Choose a base branch
from
Open

Not working #2

wants to merge 190 commits into from

Conversation

P3NGUIN12
Copy link

Traceback (most recent call last):
File "instaboost.py", line 74, in run
self.bot = InstaBot(
File "C:\Users\mudra\Music\instaboost-master\Instaboost\src\instabot.py", line 242, in init
self.login()
File "C:\Users\mudra\Music\instaboost-master\Instaboost\src\instabot.py", line 309, in login
self.s.headers.update({'X-CSRFToken': login.cookies['csrftoken']})
File "C:\Users\mudra\AppData\Local\Programs\Python\Python38-32\lib\site-packages\requests\cookies.py", line 328, in getitem
return self._find_no_duplicates(name)
File "C:\Users\mudra\AppData\Local\Programs\Python\Python38-32\lib\site-packages\requests\cookies.py", line 399, in _find_no_duplicates
raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
KeyError: "name='csrftoken', domain=None, path=None"

LevPasha and others added 30 commits February 10, 2016 09:28
Change more_than_likes to media_max_like, add media_min_like.
In line 202-203 add example, how to use comment and follow:
comment = self.comment(self.media_by_tag[i]['id'], 'Cool!')
follow = self.follow(self.media_by_tag[i]["owner"]["id"])
It is under development, but it work and you can use it. Watch example
in the end of userinfo.py (just uncomment and run).
change like_in_day to like_per_day for consistency
Update instabot.py - comment/instructsions consistency
Add new function new_auto_mod() - now bot can like, follow, infollow and
write comments!

Test it about week with 1000 likes, 150 follow, 150 unfollow and 50
comments at day - all work great!

For newbie add example.py with all they need to start.

Will write all changes in readme from few days.
Write some usefull infomation to README, add signal to InstaBot to catch
`kill` from console, add donate button.
Spelling mistakes taken care of, thx for @nivong
Fixed few spelling mistakes, THX to @zhukandrey!
Spelling errors, bug fixes and unfollow timer
Improved unfollow on cleanup, utf-8 encoding in file header, script work
time on logout. Thanks for @rjmayott and @samosad and @ictek05
based on userinfo.py 
allows you to unsubscribe from unwanted subscriptions
Help you to unfollow user, than you follow and they don't follow back.
ugurozturk and others added 26 commits January 13, 2018 14:25
feed scanner, follow protocol, post_page, user_feed, username_checker
* Dynamic User Agent

* userinfo fakeUserAgent update

* Requirements update

* Store Fake UserAgent

* empty lines removed
…changes

The project was modified according to the best practices of using
github.
instead of 8181, use 8081
Instagram stoped to use schema to get user data, here i'm forcing and
taking the html script
# Conflicts:
#	Instaboost/src/boostversion.py
Instaboost working
Fixed EXE file
fixed version problems
@muratdu25
Copy link

Traceback (most recent call last):
File "instaboost.py", line 74, in run
self.bot = InstaBot(
File "C:\Users\mudra\Music\instaboost-master\Instaboost\src\instabot.py", line 242, in init
self.login()
File "C:\Users\mudra\Music\instaboost-master\Instaboost\src\instabot.py", line 309, in login
self.s.headers.update({'X-CSRFToken': login.cookies['csrftoken']})
File "C:\Users\mudra\AppData\Local\Programs\Python\Python38-32\lib\site-packages\requests\cookies.py", line 328, in getitem
return self._find_no_duplicates(name)
File "C:\Users\mudra\AppData\Local\Programs\Python\Python38-32\lib\site-packages\requests\cookies.py", line 399, in _find_no_duplicates
raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
KeyError: "name='csrftoken', domain=None, path=None"

No response ?

@stymdxt
Copy link

stymdxt commented Dec 7, 2021

hi , I am also getting same error could you please help

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 110, in _get_module_details
import(pkg_name)
File "/Users/stymdxt/Desktop/instabot.py-master/instabot.py", line 310, in
bot = InstaBot('xxxxx', 'xxxxxxx', tag_list = ['travel', 'bus', 'inta'])
File "/Users/stymdxt/Desktop/instabot.py-master/instabot.py", line 87, in init
self.login()
File "/Users/stymdxt/Desktop/instabot.py-master/instabot.py", line 116, in login
self.s.headers.update({'X-CSRFToken' : login.cookies['csrftoken']})
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/cookies.py", line 328, in getitem
return self._find_no_duplicates(name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/cookies.py", line 399, in _find_no_duplicates
raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
KeyError: "name='csrftoken', domain=None, path=None"

@Tonners15
Copy link

Where do you add your username and password?

@LuckyLukeBIK
Copy link

Upgrade to the latest instagram version within instabot. Unfortunately still not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.