mifi / mifi/SimpleInstaBot

Measures to prevent bot detection

Open
#147 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
692
Forks
103
Avg merge
3m
Merged PRs (30d)
4

Description

Hi! Thanks for this incredible tool!
Nevertheless I have 2 problems:

1.) I always get an "Save your login info screen" after login, which is not recogniced by the bot.. the bot then ends with an error:
Failed to run
Try the troubleshooting button. Error:
Protocol error (Runtime.callFunctionOn): Could not find object with given id

if i am fast enough i can skip the screen before bot does react
grafik

2.) I get always blocked after the first UNFOLLOW after a few moments:

grafik

here the log
LOGS FROM LAST RUN
5:56 PMNo cookies found
5:56 PMSetting language to English (en)
5:56 PMWaiting 1 sec
5:56 PMWaiting 4 sec
5:56 PMFound language selector
5:56 PMAlready English language
5:56 PMWaiting 1 sec
5:56 PMPressing button: Accept cookies dialog 2 button 1
5:56 PMWaiting 18 sec
5:56 PMNo login page button, assuming we are on login form
5:56 PMWaiting 2 sec
5:56 PMWaiting 1 sec
5:56 PMWaiting 9 sec
5:57 PMStill not logged in, trying to reload loading page
5:57 PMWaiting 8 sec
5:57 PMSetting language to English (en)
5:57 PMWaiting 2 sec
5:57 PMWaiting 4 sec
5:57 PMFound language selector
5:57 PMAlready English language
5:57 PMSaving cookies
5:57 PMHave followed/unfollowed 0 in the last hour
5:57 PMHave followed/unfollowed 0 in the last 24 hours
5:57 PMHave liked 0 images in the last 24 hours
5:57 PMNavigating to user mike_myer_ss
5:57 PMGoto https://www.instagram.com/mike_myer_ss
5:57 PMWaiting 2 sec
5:57 PMUnfollowing currently followed users who were auto-followed more than 5 days ago (limit 94)...
5:57 PMUnfollowing users, up to limit 94
5:57 PMHas more pages (current 1)
5:57 PMNavigating to user ayaa.sa3d
5:57 PMGoto https://www.instagram.com/ayaa.sa3d
5:57 PMWaiting 3 sec
5:57 PMUnfollowing user ayaa.sa3d
5:57 PMWaiting 2 sec
5:58 PMWaiting 9 sec
5:58 PMAction Blocked, waiting 3 hours...
5:58 PMDeleting cookies
5:58 PMWaiting 17245 sec

So what's the problem?

It seems to me that there could be several behaviours that Instagram considers suspicious:

  1. The user's pages are called up via a URL that presumably does not appear on the page currently being displayed, which makes it clear to Insta that a BOT is running?
  2. At every start, the cookie query comes up again because the cookies are deleted again. -> rather conspicuous
  3. Every time I start Insta I get an email that a new unknown browser has logged in -> isn't that unrealistic and alerts Insta even more?

Looking forward to your feedback!

Mike

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reproducing the login prompt and action-blocked behavior using the supplied logs, then trace the login, cookie, navigation, and unfollow flows; done would require a clearly defined, tested change that addresses the confirmed cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.