sergey-scat / unicaps Goto Github PK
View Code? Open in Web Editor NEWA unified Python API for CAPTCHA solving services.
License: Apache License 2.0
A unified Python API for CAPTCHA solving services.
License: Apache License 2.0
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.
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
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?
Is it possible to integrate https://captchas.io solver service? API is documented at https://api.captchas.io/document/
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
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.
i've tried the services solves pretty fast and has good accuracy around 98 out of 100 challenges. Read on their discord they might have a refer system too. Anyway good work on this repo tho.
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.
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
Previously (api.captcha.guru)
Now (api.cap.guru)
Because of this, the captcha stopped working in the programs
Can you integrate capsolver.com? it's the cheapest of all the services, also support mtcaptcha, funcaptcha and amazon waf captcha
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.