jaros
Newbie
- Dec 1, 2016
- 39
- 18
All was working great for me, but now I have a little problem.
When I'm trying to find hashtags I see something like this
Traceback (most recent call last):
File "hashtag.py", line 215, in <module>
main(args.username, args.password, hashtags, args.max_tags, args.min_posts, args.max_posts, args.suggestions, file)
File "hashtag.py", line 133, in main
htr.setup_session()
File "hashtag.py", line 63, in setup_session
self.request_headers['X-CSRFToken'] = self.s.cookies.get_dict()['csrftoken']
KeyError: 'csrftoken'
Can someone help me with this?
When I'm trying to find hashtags I see something like this
Traceback (most recent call last):
File "hashtag.py", line 215, in <module>
main(args.username, args.password, hashtags, args.max_tags, args.min_posts, args.max_posts, args.suggestions, file)
File "hashtag.py", line 133, in main
htr.setup_session()
File "hashtag.py", line 63, in setup_session
self.request_headers['X-CSRFToken'] = self.s.cookies.get_dict()['csrftoken']
KeyError: 'csrftoken'
Can someone help me with this?