- Python 3.6.7 (default, Oct 21 2018, 08:08:16)
- [GCC 8.2.0] on linux
- Type "help", "copyright", "credits" or "license" for more information.
- >>> from minds import Minds, Profile
- >>> minds_api = Minds(Profile('REDACTEDusername','REDACTEDpassword'))
- >>> top_posts = minds_api.post_newsfeed(message='Is this thing on?')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/home/user/minds-api/minds/utils.py", line 28, in new_func
- if not self.con.cookies['loggedin'] == '1':
- File "/home/user/.local/share/virtualenvs/minds-api-AlWjsu5w/lib/python3.6/site-packages/requests-2.20.1-py3.6.egg/requests/cookies.py", line 328, in __getitem__
- return self._find_no_duplicates(name)
- File "/home/user/.local/share/virtualenvs/minds-api-AlWjsu5w/lib/python3.6/site-packages/requests-2.20.1-py3.6.egg/requests/cookies.py", line 399, in _find_no_duplicates
- raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
- KeyError: "name='loggedin', domain=None, path=None"
- >>>