nang-dev / tinderbot

MIT License
36 stars 10 forks source link

Decode issues #3

Open jake-beardo opened 1 year ago

jake-beardo commented 1 year ago

Hi I am having issues here

Starting Tinder Session........ Tinder session started! Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 971, in json return complexjson.loads(self.text, **kwargs) File "/usr/local/Cellar/python@3.10/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/usr/local/Cellar/python@3.10/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/Cellar/python@3.10/3.10.10/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/jakebeard/Documents/GitHub/tinder_liker/TinderAutomation/bot.py", line 115, in session = pynder.Session(facebook_token=FBTOKEN) File "/usr/local/lib/python3.10/site-packages/pynder/session.py", line 18, in init self._api.auth(facebook_id, facebook_token) File "/usr/local/lib/python3.10/site-packages/pynder/api.py", line 23, in auth self._url('/auth'), json=data, proxies=self._proxies).json() File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 975, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I am not sure why