1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Join our Telegram chat: https://t.me/a_parser_en
    Dismiss Notice

Util::ReCaptcha2 - recaptcha recognition

Jun 17, 2020

  • Collected data(top)

    • Gets a response from the resources Anti-captcha.com, Rucaptcha.com, Capmonster, Сapmonster.cloud, Xevil, 2captcha, R.I.P.captcha

    Use options(top)

    • Recapcha recognition
    • Used to recognize the recapcha in the SE::Google parser



    The parser accepts two types of queries:
    • sitekey url
    • sitekey url proxy user-agent
    Parameters are separated by a space and mean:
    • sitekey is the sitekey recappt
    • url - the page where the recaption is located
    • proxy is the proxy through which the recipe is received. The parameter must be in the format "login: pass @ ip: port @ type" for the proxy with authorization or "ip: port @ type" for the proxy without authorization
    • type can be http, https, socks4, socks5
    • user-agent is the user with whom the recap
    At the moment Google does not require strict correspondence between "proxy" and "user-agent", therefore it is not necessary to pass both parameters.
    To solve the recapcha, these services are supported : Anti-captcha.com, Rucaptcha.com, Capmonster, Сapmonster.cloud, Xevil, 2captcha.


    The output is:
    • $ resp - response of recapcha;
    • $ error - if an error occurred, its description

    Example of setting Xevil(top)

    To select a service, use the Provider parameter.
    For Anti-captcha.com, Rucaptcha.com, 2captcha, Сapmonster.cloud you must specify the "Client key" parameter, for Capmonster, Xevil - "Provider url".
    In Xevil it is recommended to choose Antigate (Anti-Captcha) or RuCaptcha. In the settings in the Provider url, you need to specify IP: port Xevil:

    and select Provider - Xevil:


    Possible settings(top)

    Global settings for all parsers
    ParameterValue by defaultDescription
    Client key - Customer Key for Anti-captcha.com, Rucaptcha.com, Сapmonster.cloud
    Provider url-Url of provider, not required for XEvil/CapMonster, for other types allows you to redefine the domain. You can specify several separated by commas, the parser will use each of them in random order
    ProviderAntiCaptchaService ankicapcha
    Wait between get status5Wait between get status
    Max wait time300Max wait time
lychiana974 likes this.