pynder
pynder copied to clipboard
KeyError: bio
session.neaby_users() sometimes fails with KeyError: bio. It is because an user of list which session._api.recs(limit=10) returns sometimes misses 'bio'.
pynder\models\user.py in init(self, data, session) 15 SIMPLE_FIELDS = ("name", "bio", "birth_date", "ping_time") 16 for f in SIMPLE_FIELDS: ---> 17 setattr(self, f, data[f]) 18 19 self.photos_obj = [p for p in data['photos']]
KeyError: 'bio'
can you provide a full stack trace
I am getting the same issue. Has this been resolved?
This seems to have been an incompatibility in an older version of pynder. Probably a change in the backend api for Tinder. I fixed this by running pip install pynder --upgrade
This problem is included Pictograph in looked message.