tuxity / insta-unfollower

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

get stuck and error in unfollowing users. #27

Closed mohammadkh76 closed 4 years ago

mohammadkh76 commented 5 years ago

i get this error after 1 hour waiting . Traceback (most recent call last): File "insta-unfollower.py", line 235, in main() File "insta-unfollower.py", line 225, in main while unfollow(user) == False: File "insta-unfollower.py", line 167, in unfollow response = json.loads(response.text) File "/usr/lib/python3.6/json/init.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

romualdoag commented 5 years ago

same here.

Traceback (most recent call last): File "insta-unfollower.py", line 235, in main() File "insta-unfollower.py", line 225, in main while unfollow(user) == False: File "insta-unfollower.py", line 167, in unfollow response = json.loads(response.text) File "/usr/lib/python3.6/json/init.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

haroot commented 5 years ago

Same. Any fix please?

Traceback (most recent call last): File "insta-unfollower.py", line 281, in <module> main() File "insta-unfollower.py", line 270, in main while unfollow(user) == False: File "insta-unfollower.py", line 176, in unfollow response = json.loads(response.text) File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/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)

tuxity commented 5 years ago

Unfortunately I don’t think there is a fix possible since it’s because of Instagram. Your IP has been banned for a time.