mifi / instauto

Instagram bot / automation library written in Javascript for Node.js
797 stars 145 forks source link

Login button not found after I had to confirm that I was human #109

Closed Luen closed 2 years ago

Luen commented 2 years ago

Logs: 1|LW | 2022-06-30 11:51 +10:00: 2022-06-30T01:51:31.086Z Login button not found. Maybe you can help me click it? And also report an issue on github with a screenshot of what you're seeing :)

To Reproduce The previous day I received a message and had to confirm I was human with a 2FA text message. Today, the bot doesn't auto-login.

Screenshots image

Desktop (please complete the following information):

Additional context Seems that the code for the login button is changed to the below only on this account. Note, all other accounts work that I've tried.

<div class="_ab8w  _ab94 _ab99 _ab9f _ab9m _ab9p  _abak _abb8 _abbq _abb-"><button class="_acan _acap _acas" type="submit"><div class="_ab8w  _ab94 _ab99 _ab9f _ab9m _ab9p">Log in</div></button></div>
Luen commented 2 years ago

Got it again today.

Screenshot: image

Code:

<form class="_ab3b" id="loginForm" method="post">
   <div class="_ab8w  _ab94 _ab99 _ab9f _ab9m _ab9p  _abc2">
      <div class="_ab32">
         <div class="_aa5k">
            <label class="_aa48 _aa49"><span class="_aa4a">Phone number, username, or email</span><input aria-label="Phone number, username, or email" aria-required="true" autocapitalize="off" autocorrect="off" maxlength="75" name="username" type="text" class="_aa5o _aa4b _ac4d" value="username"></label>
            <div class="_aa5p"></div>
         </div>
      </div>
      <div class="_ab32">
         <div class="_aa5k">
            <label class="_aa48 _aa49"><span class="_aa4a">Password</span><input aria-label="Password" aria-required="true" autocapitalize="off" autocorrect="off" name="password" type="password" class="_aa5o _aa4b _ac4d" value="PhysiosharkMoorea"></label>
            <div class="_aa5p">
               <div class="_ab8w  _ab94 _ab99 _ab9f _ab9m _ab9p  _abb0"><button class="_acan _acao _acat" type="button">Show</button></div>
            </div>
         </div>
      </div>
      <div class="_ab8w  _ab94 _ab99 _ab9f _ab9m _ab9p  _abak _abb8 _abbq _abb-">
         <button class="_acan _acap _acas" type="submit">
            <div class="_ab8w  _ab94 _ab99 _ab9f _ab9m _ab9p">Log in</div>
         </button>
      </div>
      <div class="_aahq _ab39">
         <div class="_aahr _ac3x"></div>
         <div class="_aahs">or</div>
         <div class="_aahr _ac3x"></div>
      </div>
      <div class="_ab8w  _ab94 _ab99 _ab9f _ab9m _ab9p  _abak _abb8 _abbq _abb-"><button class="_acan _acao _acas" type="button"><span class=" _a04s _ab36"></span><span class="_ab37">Log in with Facebook</span></button></div>
   </div>
   <a class="oajrlxb2 g5ia77u1 qu0x051f esr5mh6w e9989ue4 r7d6kgcz rq0escxv nhd2j8a9 nc684nl6 p7hjln8o kvgmc6g5 cxmmr5t8 oygrvhab hcukyx3x jb3vyjys rz4wbd8a qt6c0cv9 a8nywdso i1ao9s8h esuyzwwr f1sip0of lzcic4wl _ab2y _a6hd" href="/accounts/password/reset/?hl=en" role="link" tabindex="0">Forgot `password?</a>
</form>
Luen commented 2 years ago

Also, after you help it by clicking Log in, it's still in the loop and continues to ask you to click it.

Luen commented 2 years ago

It's working again today. I wonder if I forgot to update to the latest version.

Thanks for all you do!