tuxity / insta-unfollower

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

error #57

Closed rjworks closed 3 years ago

rjworks commented 3 years ago

While unfollowing people

Traceback (most recent call last):
  File "insta-unfollower.py", line 282, in <module>
    main()
  File "insta-unfollower.py", line 275, in main
    while unfollow(user) == False:
  File "insta-unfollower.py", line 190, in unfollow
    response = json.loads(response.text)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\json\__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\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)
neofeo commented 3 years ago

also

tuxity commented 3 years ago

Hello, sorry for the late response. Did you manage to run the script ?

I'm pretty sure it's a temp ban from Instagram (despite the random timers between each unfollow) when that happen, wait few minutes/hours before trying again.

tuxity commented 3 years ago

Also, check #49 it's the same issue.