Closed polytheistic closed 3 years ago
Duplicate of #35 The error is caused by response.text being equal to 'Bad response', causing json parsing errors.
Hello,
It should be fixed since a while now. I'm closing the issue, don't hesitate to comment if needed.
C:\Users\HEATHEN\Desktop\insta-unfollower-master>py insta-unfollower.py INSTA_USERNAME=no INSTA_PASSWORD=no python3 insta-unfollower.py Traceback (most recent call last): File "insta-unfollower.py", line 288, in
main()
File "insta-unfollower.py", line 213, in main
is_logged = login()
File "insta-unfollower.py", line 63, in login
response_data = json.loads(response.text)
File "D:\Program Files\Python\lib\json__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "D:\Program Files\Python\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\Program Files\Python\lib\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)