Code Monkey home page Code Monkey logo

unicaps's Issues

ANTI_CAPTCHA ProxyError: Only IP addresses are supported

from unicaps import CaptchaSolver, CaptchaSolvingService, proxy
solver = CaptchaSolver(CaptchaSolvingService.ANTI_CAPTCHA, "API KEY")
solved_captcha = solver.solve_recaptcha_v2(
        'SITE_KEY',
        'URL',
        proxy=proxy.ProxyServer("http://user:[email protected]:22225)
)
File "C:\Python37\Lib\site-packages\unicaps\_service\anti_captcha.py", line 101, in parse_response
  raise exceptions.ProxyError(error_msg)

unicaps.exceptions.ProxyError: ERROR_PROXY_CONNECT_REFUSED: Could not connect to proxy related to the task, connection refused Proxy address 'zproxy.lum-superproxy.io' is invalid. Only IP addresses are supported.

how to use unicaps in google search recaptcha

hello,
i try to solved captcha in google search recaptcha. i follow some advice from this link
https://2captcha.com/blog/google-sepr-recaptcha-june-2022

i passed cookies instead of proxies. how ever, after i passed cookies from unicaps to 2captcha service, i never got replied cookies from library. the 2capthca said it must replied with cookies data., but i always gets empty from solver.cookies

any example or might be some clues to make it works?

thanks for advanced

How to integrate with selenium?

Hi, I am trying to solve the captcha using a selenium headless browser. Can you provide any example of how to integrate and use the package with selenium?

Please add Custom2Captcha XEvil

Please add me on Discord
Dmitry#3429

For more details & test environment

Just changing the 2Captcha URL doesn't work, it gives this error:
10/13/2022 12:09:33 PM: POST /in.php
10/13/2022 12:09:33 PM: Wrong API Key = [] rejected!
10/13/2022 12:09:33 PM: .\Lua\API\emulation.lua:32: attempt to compare number with nil

Pass base64 image directly to service

How to pass base64 string image to the service (rucaptcha/2captcha) without re-decoding? Due to type checking and a fixed set of captcha types, it is not possible to simply replace class types.

Example for Recaptcha V2 Enterprise is not working

The example from recaptcha_v2_enterprise.py is not working anymore.
Steam is always answering with "Your response to the CAPTCHA appears to be invalid. Please re-verify that you're not a robot below..."

Someone any ideas? I tried two different services and got the same results.

How to Monkey Patch BASE_URL?

Hey, instead of BASE_URL = "https://2captcha.com" it needs to be BASE_URL = "http://mydomain:1234"
how can I monkey patch this so it looks clean?
I'm using it with XEvil

Also, how do I change these params?

def _post_init(self):
    """ Init settings """

    for captcha_type in self.settings:
        self.settings[captcha_type].polling_interval = 2

I don't want it to poll every 2 seconds I want it to poll every 5 seconds

Integrate capsolver.com

Can you integrate capsolver.com? it's the cheapest of all the services, also support mtcaptcha, funcaptcha and amazon waf captcha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.