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

Daily like limit not working #226

Open
ediooo opened this issue Mar 1, 2023 · 6 comments
Open

Daily like limit not working #226

ediooo opened this issue Mar 1, 2023 · 6 comments

Comments

@ediooo
Copy link

ediooo commented Mar 1, 2023

I am running the latest version of simpleinstabot on raspi.

since I keep getting action blocked for following even with just 3 follows per day, I am currently only using liking.
It seems the bot ignores any max daily likes.
I have it set to 26 daily likes, and it liked 96 photos in the last 24 hours after I manually stopped the bot.
It never stops on it's own.

Is this broken or a known issue?

@mifi
Copy link
Owner

mifi commented Mar 4, 2023

I think we need to change this code a bit:

https://github.com/mifi/instauto/blob/45a91b9ac0e956d29ce400a9569622ae8ed1a3db/src/index.js#L166

currently if it has reached a limit, it will sleep for 10 minutes. Maybe it should instead throw a special type of error. and if the bot catches that error, it will stop its session for the day.
Alternatively sleep for a longer period, like 1 hour

@ediooo
Copy link
Author

ediooo commented Mar 4, 2023 via email

@ediooo
Copy link
Author

ediooo commented Mar 4, 2023 via email

@ediooo
Copy link
Author

ediooo commented Mar 19, 2023

Just wanted to check if this code change has been implemented/updated? Would be amazing!

@mifi
Copy link
Owner

mifi commented Mar 23, 2023

nope. pr welcome!

@ediooo
Copy link
Author

ediooo commented Mar 27, 2023

just bumping this, hoping for someone to update the code as it would make a lot of sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants