InstaPy / InstaPy

📷 Instagram Bot - Tool for automated Instagram interactions
GNU General Public License v3.0
16.85k stars 3.78k forks source link

Failed to load desired amount of users! (already tried the fix) #4451

Closed joost-heijden closed 5 years ago

joost-heijden commented 5 years ago

Try to fix it with this fix. But it still doesn't work. Anyone has a solution?

Error:

_____________________________________________________________________________
INFO [2019-05-18 11:53:50] [account]  Starting to follow user `Followers`..
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
INFO [2019-05-18 11:53:50] [account]  User 'account1' [1/2]
  25/500 [=+----------------------------------]  5%    |> Elapsed: 1.32 seconds   25/500 [=+----------------------------------]  5%    |> Elapsed: 2.36 seconds   25/500 [=+----------------------------------]  5%    |> Elapsed: 3.66 seconds   25/500 [=+----------------------------------]  5%    |> Elapsed: 4.65 seconds    |> ETA: 1.47 minutes      
INFO [2019-05-18 11:54:06] [account]  Failed to load desired amount of users!

INFO [2019-05-18 11:54:31] [account]  Grabbed 0 usernames from 'account1's `Followers` to do following

INFO [2019-05-18 11:54:31] [account]  User 'account2' [2/2]
  25/500 [=+----------------------------------]  5%    |> Elapsed: 0.89 seconds   25/500 [=+----------------------------------]  5%    |> Elapsed: 1.98 seconds   25/500 [=+----------------------------------]  5%    |> Elapsed: 3.03 seconds   25/500 [=+----------------------------------]  5%    |> Elapsed: 3.89 seconds    |> ETA: 1.23 minutes      
INFO [2019-05-18 11:54:44] [account]  Failed to load desired amount of users!

INFO [2019-05-18 11:55:09] [account]  Grabbed 0 usernames from 'account2's `Followers` to do following

INFO [2019-05-18 11:55:09] [account]  Finished following 2 users' `Followers`! xD

INFO [2019-05-18 11:55:09] [account]  Followed: 0
INFO [2019-05-18 11:55:09] [account]  Already followed: 0
INFO [2019-05-18 11:55:09] [account]  Not valid users: 0

INFO [2019-05-18 11:55:09] [account]  Liked: 0
INFO [2019-05-18 11:55:09] [account]  Already Liked: 0
INFO [2019-05-18 11:55:09] [account]  Commented: 0
INFO [2019-05-18 11:55:09] [account]  Inappropriate: 0

INFO [2019-05-18 11:55:11] [account]  Sessional Live Report:
    |> LIKED 0 images  |  ALREADY LIKED: 0
    |> COMMENTED on 0 images
    |> FOLLOWED 0 users  |  ALREADY FOLLOWED: 0
    |> UNFOLLOWED 10 users
    |> LIKED 0 comments
    |> REPLIED to 0 comments
    |> INAPPROPRIATE images: 0
    |> NOT VALID users: 0

On session start was FOLLOWING 902 users & had 11809 FOLLOWERS
[Session lasted 54.52 minutes]

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-05-18 11:55:11] [account]  Session ended!
oooooooooooooooooooooooooooooooooooooooooooooooooooooo

Quickstart.py:

from instapy import InstaPy
from instapy.util import smart_run

insta_username = 'account'
insta_password = 'xxxxx'

# get a session!
session = InstaPy(username=insta_username,
                  password=insta_password,
                  use_firefox=True,
                  headless_browser=True,
                  multi_logs=True)

# let's go! :>
with smart_run(session):
    # general settings
    session.set_relationship_bounds(enabled=True,
                                    potency_ratio=None,
                                    delimit_by_numbers=True,
                                    max_followers=6000,
                                    max_following=3000,
                                    min_followers=30,
                                    min_following=30)
    session.set_user_interact(amount=2, randomize=True, percentage=30,
                              media='Photo')
    session.set_do_like(enabled=True, percentage=100)
    session.set_do_comment(enabled=True, percentage=5)
    session.set_comments(
        ['Nice shot! @{}', 'I love your profile! @{}', '@{} Love it!',
         '@{} :heart::heart:',
         '@{}:revolving_hearts::revolving_hearts:', '@{}:fire::fire::fire:'],
        media='Photo')

    # unfollow activity
    session.unfollow_users(amount=126, nonFollowers=True, style="RANDOM",
                           unfollow_after=42 * 60 * 60, sleep_delay=300)

    # follow activity
    ammount_number = 500
    session.follow_user_followers(['account1', 'account2'],
                                  amount=ammount_number, randomize=False,
                                  interact=True, sleep_delay=240)
tlkops commented 5 years ago

Same here

nbgabriel commented 5 years ago

Same

joost-heijden commented 5 years ago

@tlkops @nbgabriel, i fixed it to use another script.