Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running multiple accounts and following only the users that other accounts havent followed yet #103

Open
mostfurious opened this issue Jun 7, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@mostfurious
Copy link

Hey,
Really like this bot idea where browser is exposed and you can do whatever you want before passing it to the instauto.

I would like to run multiple accounts at once like 2 at the same time with 10 accounts in queue.
Puppeteer allows you to make userdata paths where it saves the cookies and browsing date (which is what i plan to do for each and every account).
Set multiple options with their own cookies.json.
And then in async await. Once the browser is closed, open another one with different account.

I dont see why i couldnt do that by making multiple puppeteer and insauto instances in once script.

The problem is i dont want the accounts to look spammy. I can see that there is an option to set up a db where followers are being tracked so that in the future they would not be followed again. Question is, how do you make that db global for ALL accounts ?

If for each and every account i would set followedDbPath: './followed.json' (to the same file) would it work ? How does unfollow work ? Does it use that file for reference when unfollowing ?

@mifi
Copy link
Owner

mifi commented Jun 7, 2022

The db was never designed to work with multiple concurrent instances running against the same file, so I'm not sure if that will work. You can try but no guarantees

unfollow uses followed.json and unfollowed.json files

@mostfurious
Copy link
Author

Thanks unfortunate... thanks for the answer. Hopefuly in the future this could be a feature

@mifi mifi added the enhancement New feature or request label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants