Skip to content

Full list of command line arguments (including extra features)

Alexander Mishchenko edited this page Nov 23, 2020 · 4 revisions

You can use as many arguments as you like. Just write them one by one like python3 start.py --interact @natgeo --interactions-count 30-50 or python3 start.py --interact @natgeo --interactions-count 30-50 --follow-percentage 80 etc.

Please note that you can specify at most one action at a time. Actions are: --interact, --unfollow, --unfollow-non-followers, --unfollow-any, --remove-mass-followers and --scrape.

  --repeat 120-180      repeat the same session again after N minutes after
                        completion, disabled by default. It can be a number of
                        minutes (e.g. 180) or a range (e.g. 120-180)
  --device 2443de990e017ece
                        device identifier. Should be used only when multiple
                        devices are connected at once
  --old                 add this flag to use an old version of uiautomator.
                        Use it only if you experience problems with the
                        default version
  --working-hours 9-21  set working hours to the script, disabled by default.
                        It can be a number presenting specific hour (e.g. 13)
                        or a range (e.g. 9-21). Notice that right value must
                        be higher than the left value.
  --filters FILTERS     add this argument if you want to pass filters as an
                        argument and not from filters.json file
  --likes-count 2-4     number of likes for each interacted user, 2 by
                        default. It can be a number (e.g. 2) or a range (e.g.
                        2-4)
  --follow-percentage 50
                        follow given percentage of interacted users, 0 by
                        default
  --interact hashtag [@username ...]
                        list of hashtags and usernames. Usernames should start
                        with "@" symbol. The script will interact with
                        hashtags' posts likers and with users' followers
  --interaction-users-amount 3-8
                        add this argument to select an amount of users from
                        the interact-list (users are randomized). It can be a
                        number (e.g. 4) or a range (e.g. 3-8)
  --stories-count 3-8   number of stories to watch for each user, disabled by
                        default. It can be a number (e.g. 2) or a range (e.g.
                        2-4)
  --unfollow 100-200    unfollow at most given number of users. Only users
                        followed by this script will be unfollowed. The order
                        is from oldest to newest followings. It can be a
                        number (e.g. 100) or a range (e.g. 100-200)
  --unfollow-non-followers 100-200
                        unfollow at most given number of users, that don't
                        follow you back. Only users followed by this script
                        will be unfollowed. The order is from oldest to newest
                        followings. It can be a number (e.g. 100) or a range
                        (e.g. 100-200)
  --unfollow-any 100-200
                        unfollow at most given number of users. The order is
                        from oldest to newest followings. It can be a number
                        (e.g. 100) or a range (e.g. 100-200)
  --interact-targets True / False
                        use this argument in order to interact with profiles
                        from targets.txt
  --scrape-for-account your_profile
                        add this argument in order to just scrape targeted
                        profiles for an account. The scraped profiles names
                        will be added to targets.txt file at target account
                        directory
  --scrape hashtag [@username ...]
                        list of hashtags and usernames. Usernames should start
                        with "@" symbol. The script will scrape with hashtags'
                        posts likers and with users' followers
  --scrape-users-amount 3-8
                        add this argument to select an amount of users from
                        the scraping-list (users are randomized). It can be a
                        number (e.g. 4) or a range (e.g. 3-8)
  --remove-mass-followers 10-20
                        Remove given number of mass followers from the list of
                        your followers. "Mass followers" are those who has
                        more than N followings, where N can be set via --max-
                        following. It can be a number (e.g. 4) or a range
                        (e.g. 3-8)
  --max-following 1000  Should be used together with --remove-mass-followers.
                        Specifies max number of followings for any your
                        follower, 1000 by default
  --interactions-count 40
                        number of interactions per each blogger/hashtag, 70 by
                        default. It can be a number (e.g. 70) or a range (e.g.
                        60-80). Only successful interactions count
  --follow-limit 7-8    limit on amount of follows during interaction with
                        each one user's followers, disabled by default. It can
                        be a number (e.g. 10) or a range (e.g. 6-9)
  --scrape-count 40-60  number of profiles-scrapping per each blogger/hashtag,
                        disabled by default. It can be a number (e.g. 70) or a
                        range (e.g. 50-80)
  --total-likes-limit 300
                        limit on total amount of likes during the session, 300
                        by default. It can be a number presenting specific
                        limit (e.g. 300) or a range (e.g. 100-120)
  --total-interactions-limit 60-80
                        number of total interactions per session, disabled by
                        default. It can be a number (e.g. 70) or a range (e.g.
                        60-80). Only successful interactions count
  --total-follow-limit 50
                        limit on total amount of follows during the session,
                        disabled by default. It can be a number (e.g. 27) or a
                        range (e.g. 20-30)
  --total-story-limit 300
                        limit on total amount of stories watches during the
                        session, disabled by default. It can be a number (e.g.
                        27) or a range (e.g. 20-30)
  --min-following 100   minimum amount of followings, after reaching this
                        amount unfollow stops
  --total-get-profile-limit 1500
                        limit on total amount of get-profile actions during
                        the session, disabled by default. It can be a number
                        (e.g. 600) or a range (e.g. 500-700)
  --total-scrape-limit 150
                        limit on total amount of profiles-scrapping during the
                        session, disabled by default. It can be a number (e.g.
                        100) or a range (e.g. 90-120)
  --config-file CONFIG_FILE
                        add this argument if you want to load your
                        configuration from a config file. Example can be found
                        in config-examples folder