tuxity / insta-unfollower

An Instagram script to unfollow accounts who doesn't follow-you-back
MIT License
381 stars 89 forks source link

Error #36

Closed polytheistic closed 3 years ago

polytheistic commented 4 years ago

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)

h5p9sl commented 4 years ago

Duplicate of #35 The error is caused by response.text being equal to 'Bad response', causing json parsing errors.

eduardobarbiero commented 4 years ago

try see:

https://github.com/tuxity/insta-unfollower/pull/38/commits/06121d099d98ce696e959ffe83c93fac851ac3d9

tuxity commented 3 years ago

Hello,

It should be fixed since a while now. I'm closing the issue, don't hesitate to comment if needed.