anybot.actions package

Submodules

anybot.actions.instagram module

class anybot.actions.instagram.FollowNewUsers(*args, **kwargs)[source]

Bases: anybot.action.CandidateActions

Follow users that are most likely to follow me back that have no existing friendship status with me

before_update(api)[source]
create_gen(api)[source]
get_score(api, candidate)[source]
class anybot.actions.instagram.KeepUnderFollowLimit(per_interval=30, interval=3600, **kwargs)[source]

Bases: anybot.action.QueuedActions

When maximum following (~7500) is reached, unfollow users that have the most followers

update(api)[source]
class anybot.actions.instagram.LikeLeastLikedMedia(*args, **kwargs)[source]

Bases: anybot.action.CandidateActions

Get latest media of users I’m following and like the posts with the fewest likes

create_gen(api)[source]
get_score(api, candidate)[source]
class anybot.actions.instagram.PeriodicLoginOut(n_relogs=8, period=14400, **kwargs)[source]

Bases: anybot.action.Action

Log in and out of my account approx. every half hour. This is to appear more human, as regular people close and reopen the Instagram app regularly, and prolonged api usage without re-logging can be flagged as bot/spam behaviour.

step(api)[source]
class anybot.actions.instagram.UnfollowAfter(per_hour=30, after=604800)[source]

Bases: anybot.action.QueuedActions

Unfollow users I’ve been following for X amount of time

update(api)[source]
class anybot.actions.instagram.UnfollowNotFollowing(per_hour=30)[source]

Bases: anybot.action.QueuedActions

Unfollow users that I’m following that are not following me

update(api)[source]
anybot.actions.instagram.all_users(api)[source]

Iterator of all Instagram users

Module contents

class anybot.actions.PeriodicLoginOut(n_relogs=8, period=14400, **kwargs)[source]

Bases: anybot.action.Action

Log in and out of my account approx. every half hour. This is to appear more human, as regular people close and reopen the Instagram app regularly, and prolonged api usage without re-logging can be flagged as bot/spam behaviour.

step(api)[source]
class anybot.actions.FollowNewUsers(*args, **kwargs)[source]

Bases: anybot.action.CandidateActions

Follow users that are most likely to follow me back that have no existing friendship status with me

before_update(api)[source]
create_gen(api)[source]
get_score(api, candidate)[source]
class anybot.actions.KeepUnderFollowLimit(per_interval=30, interval=3600, **kwargs)[source]

Bases: anybot.action.QueuedActions

When maximum following (~7500) is reached, unfollow users that have the most followers

update(api)[source]
class anybot.actions.LikeLeastLikedMedia(*args, **kwargs)[source]

Bases: anybot.action.CandidateActions

Get latest media of users I’m following and like the posts with the fewest likes

create_gen(api)[source]
get_score(api, candidate)[source]
class anybot.actions.UnfollowAfter(per_hour=30, after=604800)[source]

Bases: anybot.action.QueuedActions

Unfollow users I’ve been following for X amount of time

update(api)[source]
class anybot.actions.UnfollowNotFollowing(per_hour=30)[source]

Bases: anybot.action.QueuedActions

Unfollow users that I’m following that are not following me

update(api)[source]