mifi / SimpleInstaBot

Simple Instagram bot GUI
MIT License
598 stars 85 forks source link

Daily like limit not working #226

Open ediooo opened 1 year ago

ediooo commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

That makes a lot of sense!

ediooo commented 1 year ago

Especially the pausing until next day’s start time sounds logical to me

ediooo commented 1 year ago

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

mifi commented 1 year ago

nope. pr welcome!

ediooo commented 1 year ago

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