obnoxiousmods / async_twitter_api_client

Async port of twitter-api-client
GNU General Public License v3.0
10 stars 2 forks source link

Sometimes solved catch from 2captcha doesn't work #7

Open burruplambert opened 3 months ago

burruplambert commented 3 months ago

Have you experienced this issue? Sometimes I receive captcha solution from 2captcha, submit it but it doesn't seem to work. The response looks something like this... It requires resolving a new captcha and trying again.

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title></title>
  <link href="https://abs.twimg.com/favicons/favicon.ico" rel="shortcut icon" type="image/x-icon">
  <link href="https://abs-0.twimg.com/bouncer/bouncer_responsive.43a19843bc90721886def60c110eb08c20d200f7.css" rel="stylesheet">

</head>
<body  class="ResponsiveLayout ">
    <div class="TopNav">
      <div class="TopNav--container u-cf">

        <div class="Icon--logo u-pullLeft">
          <a href="https://twitter.com"><svg role="img" aria-label="X" width="24" height="24"><g><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"></path></g></svg>
</a>
        </div>
        <div class="TopNav-title u-pullLeft"></div>
        <ul class="u-pullRight">
            <li class="Dropdown  js-userDropdown">
              <span>Options</span>
              <b class="caret"></b>
              <div class="Dropdown-menuContainer">
                <div class="Dropdown-menu Dropdown--right">
                  <div class="Dropdown-caretContainer">
                    <span class="Dropdown-caretOuter"></span>
                    <span class="Dropdown-caretInner"></span>
                  </div>
                  <ul>
                          <li><a href="https://support.twitter.com/articles/20171312" title="Help" target="_blank">Help</a></li>
                          <li class="js-logoutLink">
                            <button type="button">Log out</button>
                            <form class="js-logoutForm" action="/logout" method="post">
                              <input type="hidden" value="xxxxxxxx" name="authenticity_token">
                            </form>
                          </li>
                  </ul>
                </div>
              </div>
            </li>
        </ul>
      </div>
    </div>
  <div class="PageContainer">
        <div class="Section">

          <div class="circle-loader-container">
      <div class="circle-loader active"></div>
    </div>
    <form id="arkose_form" action="/account/access?lang=en" method="post" class="Form" onsubmit="return false">
      <input type="hidden" name="authenticity_token" value="xxxxxxxx">
<input type="hidden" name="assignment_token" value="xxxxxxxx">
<input type="hidden" name="lang" value="en">
<input type="hidden" name="flow" value="">
<noscript>
  <input type="hidden" name="nsi" value="1">
</noscript>

      <input id="verification_string" name="verification_string" class="Form-textbox Edge-textbox is-required" type="textbox">
      <input type="hidden" id="language_code" name="language_code" value="en"/>
    </form>
    <iframe id="arkose_iframe" src="https://iframe.arkoselabs.com/0152B4EB-D2DC-460A-89A1-629838B529C9/index.html?xxxxxxxxxx"></iframe>
    <script nonce="Hgz9pZnMcNkec2pLqm/Cww==" src="./static/js/arkose.js" type="application/json"></script>

    </div>

  </div>
    <script src="//abs-0.twimg.com/bouncer/bouncer_js.592d317ef4d5737a0aff61758a8364f29fd446a3.js" type="text/javascript"></script>

</body>
</html>
burruplambert commented 3 months ago

I'm going to test if just resubmitting the requests works.

obnoxiousmods commented 3 months ago

it’s inconsistent for sure; i imagine it’s because of some hardcoded post data used in the requests or because some captcha solves are low quality

On Thu, Jul 4, 2024 at 05:21, burruplambert @.***(mailto:On Thu, Jul 4, 2024 at 05:21, burruplambert < wrote:

I'm going to test if just resubmitting the requests works.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

burruplambert commented 3 months ago

Alright good to know it's not just me. I wasn't aware that there were different levels of quality for the captcha solve, or they could be incorrect. I had assumed if there was a valid solution provided by 2captcha it was good.

obnoxiousmods commented 3 months ago

2captcha captchas are ass esp recaptcha v3 wrong all the time

On Thu, Jul 4, 2024 at 07:14, burruplambert @.***(mailto:On Thu, Jul 4, 2024 at 07:14, burruplambert < wrote:

Alright good to know it's not just me. I wasn't aware that there were different levels of quality for the captcha solve, or they could be incorrect. I had assumed if there was a valid solution provided by 2captcha it was good.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>