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

Traceback (most recent call last) #25

Open
kikieri opened this issue Jul 22, 2021 · 1 comment
Open

Traceback (most recent call last) #25

kikieri opened this issue Jul 22, 2021 · 1 comment

Comments

@kikieri
Copy link

kikieri commented Jul 22, 2021

got this error:

Traceback (most recent call last):
File "/Users/kalucci/Downloads/instagram-terminal-news-feed/start.py", line 122, in
main()
File "/Users/kalucci/Downloads/instagram-terminal-news-feed/start.py", line 115, in main
session = login(credential)
File "/Users/kalucci/Downloads/instagram-terminal-news-feed/start.py", line 96, in login
session, res = get_login_session({'username': user, 'password': pwd})
File "/Users/kalucci/Downloads/instagram-terminal-news-feed/start.py", line 73, in get_login_session
session.headers.update({'X-CSRFToken': req.cookies['csrftoken']})
File "/usr/local/lib/python3.9/site-packages/requests/cookies.py", line 328, in getitem
return self._find_no_duplicates(name)
File "/usr/local/lib/python3.9/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"

@donwany
Copy link

donwany commented Mar 5, 2023

getting the same errors

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

No branches or pull requests

2 participants