Giter Club home page Giter Club logo

insta-unfollower's Introduction

Hi there ๐Ÿ‘‹

insta-unfollower's People

Contributors

ardacebi avatar cedbri avatar coderade avatar dependabot[bot] avatar matrixgram avatar sandy2008 avatar tannerkrewson avatar tuxity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

insta-unfollower's Issues

Error in authentication

Attaching error details below:

Traceback (most recent call last):
  File ".\insta-unfollower.py", line 301, in <module>
    main()
  File ".\insta-unfollower.py", line 225, in main
    is_logged = login()
  File ".\insta-unfollower.py", line 83, in login
    if response_data['authenticated']:
KeyError: 'authenticated'

error i'm getting when launching the script

/insta-unfollower$ USERNAME=xxxx PASSWORD=xxxxx python3 insta-unfollower.py
Traceback (most recent call last):
File "insta-unfollower.py", line 208, in
main()
File "insta-unfollower.py", line 172, in main
connected_user = get_user_profile(os.environ.get('USERNAME'))
File "insta-unfollower.py", line 64, in get_user_profile
response = json.loads(response.text)
File "/usr/lib/python3.4/json/init.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)

Thank you

KeyError authenticated

File "unfollow_es.py", line 353, in
main()
File "unfollow_es.py", line 262, in main
is_logged = login()
File "unfollow_es.py", line 85, in login
if response_data['authenticated']:
KeyError: 'authenticated'

Return 400 Bad Request

Lines:

response = session.post(login_route, data=post_data, allow_redirects=True)
response_data = json.loads(response.text)

Return Bad Request and finish.

Cant login to my instagram account

Hi there,
I set the USERNAME and PASSWORD variables correctly but still cannot authenticate my username.

Does this script still works?
Do you need to do anything beforehand?

creation of the unfollowers list is generating wrong result

When we are trying to generate the unfollow_users_list we are getting wrong results.

This occurrs because in the line 256 when comparing the following_list and followers_list using the user dict:

unfollow_users_list = [user for user in following_list if user not in followers_list]

some users has a diferent query parameter oe on the profile_pic_url, so in these cases the users are the same, but result as different users. Like we can see on the following example:

user_on_the_follower_list = {'id': '226800192', 'username': 'test_user', 'full_name': 'Test User',
                   'profile_pic_url': 'https://scontent-gru1-1.cdninstagram.com/v/t51.2885-19/s150x150/81628840_1492995750855871_111111111111111111_n.jpg?_nc_ht=scontent-gru1-1.cdninstagram.com&_nc_ohc=KNwAxZQWkU4AX9JlCMo&oh=6c054feb11f013f3aaf29ccc5322c1d6&oe=5ED3E05D',
                   'is_private': True, 'is_verified': False, 'followed_by_viewer': True,
                   'requested_by_viewer': False}
user_on_the_following_list = {'id': '226800192', 'username': 'test_user', 'full_name': 'Test user',
                    'profile_pic_url': 'https://scontent-gru1-1.cdninstagram.com/v/t51.2885-19/s150x150/81628840_1492995750855871_111111111111111111_n.jpg?_nc_ht=scontent-gru1-1.cdninstagram.com&_nc_ohc=KNwAxZQWkU4AX9JlCMo&oh=dc5f0df641c05645cb2cd3858f75375c&oe=5ED7D4DD',
                    'is_private': True, 'is_verified': False, 'followed_by_viewer': True,
                    'requested_by_viewer': False}

print(user_on_the_following_list == user_on_the_follower_list) # results false

In this case &oe=5ED3E05D is diferent in each profile_pic_url

The Docker Build Does Not Work

After pulling the docker image, i tried to execute and it and it correctly executes the container while creating the cache folder in the current working directory which is empty, aside that it does nothing

Error on getting username from env on macOS

When I run

mac-user@mac insta-unfollower % USERNAME=insta-username PASSWORD=insta-password python3 insta-unfollower.py 

on macOS, post data is sent like that:

{'username': 'mac-user', 'password': 'insta-password '}

As it can be seen, USERNAME from env is coming as my macOS username.

One possible solution would be changing the USERNAME keyword to something different from default env variables.

invalid syntax

File "insta-unfollower.py", line 6

^
SyntaxError: invalid syntax

i cant login

"login failed, verify user/password combination"

The account and password its ok but i can login with the script.

O.S: Windows 10
Python Ver.: 3.6.3

JSON Decode Error

You're now logged as XXXXXXXXX (560 followers, 3078 following)
building followers list............... done
building following list................................................................. done
you are following 3006 user(s) who aren't following you.
Begin to unfollow users...
unfollowing XXXXXXXX

docker : Traceback (most recent call last):
At line:1 char:1

  • docker logs -f 84f7cb4f8b94
  •   + CategoryInfo          : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    File "insta-unfollower.py", line 222, in <module>
      main()
    File "insta-unfollower.py", line 214, in main
      unfollow(user)
    File "insta-unfollower.py", line 159, in unfollow
      response = json.loads(response.text)
    File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
      return _default_decoder.decode(s)
    File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/usr/local/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)

KeyError: 'graphql'

Hi!
When running python3 insta-unfollower.py i get this error

Traceback (most recent call last):
  File "C:\Users\WORKSTATION\Downloads\insta-unfollower-master\insta-unfollower.py", line 282, in <module>
    main()
  File "C:\Users\WORKSTATION\Downloads\insta-unfollower-master\insta-unfollower.py", line 217, in main
    connected_user = get_user_profile(credentials.username)
  File "C:\Users\WORKSTATION\Downloads\insta-unfollower-master\insta-unfollower.py", line 91, in get_user_profile
    return response['entry_data']['ProfilePage'][0]['graphql']['user']
KeyError: 'graphql'

KeyError: 'authenticated'

i run the script on OsX but the script don't work, can u help me ?

Traceback (most recent call last):
File "insta-follower.py", line 231, in <module>
main()
File "insta-follower.py", line 190, in main
is_logged = login()
File "insta-follower.py", line 55, in login
if response_data['authenticated']:
KeyError: 'authenticated'

Not working anymore

    response = session.post(login_route, data=post_data, allow_redirects=True)
    response_data = json.loads(response.text)
    print(response_data)

And it shows

{'errors': {'error': ['Sorry, there was a problem with your request.']}, 'status': 'ok', 'error_type': 'generic_request_error'}

JSONDecodeError

Tried to run this script with both the Docker version as well as without Docker and I am having no luck.

Without Docker, I am getting this error:

Traceback (most recent call last):
  File "insta-unfollower.py", line 288, in <module>
    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 "/usr/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.8/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)

Any idea?

AttributeError: 'dict' object has no attribute 'text'

I just ran this with Docker via

docker pull tuxity/insta-unfollower:latest
docker run -d -v $(pwd)/cache:/usr/src/insta-unfollower/cache --env INSTA_USERNAME=myusername --env INSTA_PASSWORD=mypassword tuxity/insta-unfollower:latest

First run - after 3 successful unfollows I get this error:

Error while trying to unfollow XYZ. Retrying in a bit...
Traceback (most recent call last):
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 289, in <module>
    main()
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 280, in main
    while unfollow(user) == False:
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 199, in unfollow
    print('ERROR: {}'.format(response.text))
AttributeError: 'dict' object has no attribute 'text'

And the container stops.

Second run - a different error (#64 & #49) when trying to unfollow the same user as before:

Unfollowing XYZ...
Traceback (most recent call last):
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 289, in <module>
    main()
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 280, in main
    while unfollow(user) == False:
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 195, in unfollow
    response = json.loads(response.text)
  File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

get stuck and error in unfollowing users.

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)

Error

C:\Users\MitakaMadafaka\Desktop\insta-unfollower-master>python insta-unfollower.py
Traceback (most recent call last):
File "insta-unfollower.py", line 281, in
main()
File "insta-unfollower.py", line 208, in main
is_logged = login()
File "insta-unfollower.py", line 47, in login
'X-CSRFToken': reponse.cookies['csrftoken']
File "C:\Users\MitakaMadafaka\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\cookies.py", line 328, in getitem
return self._find_no_duplicates(name)
File "C:\Users\MitakaMadafaka\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\cookies.py", line 399, in _find_no_duplicates
raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
KeyError: "name='csrftoken', domain=None, path=None"

Error

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)

Script keeps skipping accounts

hey there.
I want to clear ALL following accounts, but the script is skipping some of accounts left. how can i bypass this?

Install on Windows

Hi,

I have python on windows. I installed the requirements through cmd.
how to run it from cmd? Can you give me the code. Thank you.

C:\Users\worldsdream\Desktop\insta-unfollower-master\insta-unfollower-master>python insta-unfollower.py please provide USERNAME and PASSWORD environement variables. Abording...

Unable to launch

Launching without docker via the windows cmd: > INSTA_USERNAME=myusername INSTA_PASSWORD=mypassword python3 insta-unfollower.py

I get a "please provide INSTA_USERNAME and INSTA_PASSWORD environement variables. Abording.." message

Username and password without "brackets"

error

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)

The program does not work

I pulled the repository and downloaded the requirements.txt and trying running it with python3, it just gets an exception without working

KeyError: 'data' , weird error i'm getting just after logging in

You're now logged as XXXX
1314 followers
1958 following
building followers list...
Traceback (most recent call last):
File "insta-unfollower.py", line 208, in
main()
File "insta-unfollower.py", line 180, in main
followers_list = get_followers_list()
File "insta-unfollower.py", line 119, in get_followers_list
for edge in response['data']['user']['edge_followed_by']['edges']:
KeyError: 'data'

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Hi Tuxity,

thank you for your work.
I'm facing this issue:

After few unfollowed users the script gives me an error.

Traceback (most recent call last):
File "unfollow.py", line 227, in
main()
File "unfollow.py", line 219, in main
unfollow(user)
File "unfollow.py", line 164, in unfollow
response = json.loads(response.text)
File "C:\Python\Python36\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "C:\Python\Python36\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python\Python36\lib\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)

Problem :(

Traceback (most recent call last):
File "insta-unfollower.py", line 208, in
main()
File "insta-unfollower.py", line 172, in main
connected_user = get_user_profile(os.environ.get('USERNAME'))
File "insta-unfollower.py", line 66, in get_user_profile
return response['user']
KeyError: 'user'

KeyError: 'authenticated'

I know this issue was closed on #13 and #41 but I got something new so I'll just open a new one.

Same error message goes

Traceback (most recent call last):
  File "/Users/canor/scripts/insta-unfollower/insta-unfollower.py", line 301, in <module>
    main()
  File "/Users/canor/scripts/insta-unfollower/insta-unfollower.py", line 225, in main
    is_logged = login()
  File "/Users/canor/scripts/insta-unfollower/insta-unfollower.py", line 83, in login
    if response_data['authenticated']:
KeyError: 'authenticated'

so I printed response_data and it shows

{'message': 'checkpoint_required', 'checkpoint_url': '/challenge/224135293/7TSGU0RpjF/', 'lock': False, 'flow_render_type': 0, 'status': 'fail'}

what would that mean? any advice would be helpful. thanks.

No csrf token found

I got this log with any account I'm trying. (Fore real account or even with random strings for user and password I have the same result)

No csrf token found in cookies, maybe you are temp ban? Wait 1 hour and retry
login failed, verify user/password combination

Any idea why?

KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))

Hi,
script return an error.

Traceback (most recent call last): File "insta-unfollower.py", line 209, in <module> main() File "insta-unfollower.py", line 167, in main is_logged = login() File "insta-unfollower.py", line 42, in login 'X-CSRFToken': reponse.cookies['csrftoken'] File "/Users/davide/anaconda3/lib/python3.6/site-packages/requests/cookies.py", line 327, in __getitem__ return self._find_no_duplicates(name) File "/Users/davide/anaconda3/lib/python3.6/site-packages/requests/cookies.py", line 398, in _find_no_duplicates raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path)) KeyError: "name='csrftoken', domain=None, path=None"
how could I solve?

thank you

clarifai and path

Hello !
I get this error for clarifai :
ERROR: clarifai 2.6.2 has requirement configparser<4,>=3.5, but you'll have configparser 5.0.1 which is incompatible.
Does this mean I would have to somehow downgrade configparser ?

Could you also explain the steps to move to PATH in your tutorial ? that would be a great help for beginners !
WARNING: The script jsonschema is installed in '/home/gab/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script webdriverdownloader is installed in '/home/gab/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Thanks a lot for your amazing work :)

KeyError: 'graphql'

Traceback (most recent call last):

File "insta-unfollower.py", line 282, in <module>

main()

File "insta-unfollower.py", line 217, in main

connected_user = get_user_profile(credentials.username)

File "insta-unfollower.py", line 91, in get_user_profile

return response['entry_data']['ProfilePage'][0]['graphql']['user']

KeyError: 'graphql'

JSONDecodeError

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

PLEASE HELP

Fails after trying to unfollow

Begin to unfollow users...
Traceback (most recent call last):
File "insta-unfollower.py", line 280, in
main()
File "insta-unfollower.py", line 269, in main
while unfollow(user) == False:
File "insta-unfollower.py", line 175, in unfollow
response = json.loads(response.text)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/Library/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 "/Library/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)

Instagram blocked a suspicious login attempt

Received a message about a suspicious login attempt, clicked this was me, and tried again. Multiple attempts result in the same exit. Logs say to confirm on instagram and try again but it keeps resulting in an exit.

AttributeError: 'NoneType' object has no attribute 'group'

Hi there,
How are you?
I am getting this error.
Could you have a look?
Traceback (most recent call last):
File "C:\Users\zz\Downloads\Compressed\insta-unfollower-master\insta-unfollower.py", line 289, in
main()
File "C:\Users\zz\Downloads\Compressed\insta-unfollower-master\insta-unfollower.py", line 222, in main
connected_user = get_user_profile(credentials.username)
File "C:\Users\zz\Downloads\Compressed\insta-unfollower-master\insta-unfollower.py", line 90, in get_user_profile
response = json.loads(extract.group(1))
AttributeError: 'NoneType' object has no attribute 'group'

Not working with Docker / Powershell or Command Prompt or Python.

Hi Kevin,

I attempted to run the script using Powershell and Docker.

I ran:

docker build -t tuxity/insta-unfollower .
docker run -d -v ${pwd}/cache:/usr/src/insta-unfollower/cache --env INSTA_USERNAME=myusername --env INSTA_PASSWORD=mypassword tuxity/insta-unfollower

It completed, but the only output appears to be a SHA256 hash:
5d737d9604498df8c3dbd6ef4a46fdfc9a3c9f4b643acc29f9541713baaa963a

The above is the only output I received.

I also attempted this in Command Prompt.
I ran:

docker build -t tuxity/insta-unfollower .
docker run -d -v cache:/usr/src/insta-unfollower/cache --env INSTA_USERNAME=myusername --env INSTA_PASSWORD=mypassword tuxity/insta-unfollower

This also only provided me a hash:
cb50361625533de797e0df33e71a4fbf29d44790b90ed2da1de5f15843acd8ff

Additionally, I attempted to just run it using Python3 and used the following:
python3 insta-unfollower.py USERNAME PASSWORD

I received the following:

Traceback (most recent call last):
  File "C:\Users\zz\Downloads\insta-unfollower-master\insta-unfollower.py", line 295, in <module>
    main()
  File "C:\Users\zz\Downloads\insta-unfollower-master\insta-unfollower.py", line 228, in main
    connected_user = get_user_profile(credentials.username)
  File "C:\Users\zz\Downloads\insta-unfollower-master\insta-unfollower.py", line 90, in get_user_profile
    response = json.loads(extract.group(1))
AttributeError: 'NoneType' object has no attribute 'group'

With this many attempts, I feel like I must be doing something wrong. Is this something I'm doing wrong or does something else need to be fixed?

Cheers

json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

Just run this with Docker via

docker pull tuxity/insta-unfollower:latest
docker run -d -v $(pwd)/cache:/usr/src/insta-unfollower/cache --env INSTA_USERNAME=myusername --env INSTA_PASSWORD=mypassword tuxity/insta-unfollower:latest

After about 20 unfollows I keep getting this error:

Traceback (most recent call last):
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 282, in <module>
    main()
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 275, in main
    while unfollow(user) == False:
  File "/usr/src/insta-unfollower/insta-unfollower.py", line 190, in unfollow
    response = json.loads(response.text)
  File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

Might be the same as #49 but there's no solution yet in the latest Docker image I pulled.

Instagram Security Confirmation

Hi!

Docker logs Please check Instagram app for a security confirmation that it is you trying to login. and the process immediately exits. On the Instagram app I get the "Suspicious login attempt" screen and confirm it was me, but the script doesn't continue and it requests confirmation every time I rerun the script. This issue persists across multiple accounts.

Does this happen on your side?

provider pass and user

please provide INSTA_USERNAME and INSTA_PASSWORD environement variables. Abording...

can you tell me where and how to input the username and password as this is not helping

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.