Open JackSparrowf9 opened 2 weeks ago
what is the proxy provider you used ?
@cimuxy I use 4G proxy
@JackSparrowf9 Thank you, I'm trying to find a good captcha service for the FunCaptcha but I can't find a good one
Also, I'm working on setting up the mailbox to read the messages and I have finished like 80% of the project but the only problem in the meantime is the solving service after CAPBYPASS has been down, I updated the script to support 2Captcha, AntiCaptcha but both needs around 2 minutes for each captcha to be solved, if you can recommend any solving service this will be really appreciated
elif config['solver'] == "ANTICAPTCHA":
parts = proxy.split('@')
if len(parts) == 2:
user_pass, ip_port = parts
proxy = f"{ip_port}:{user_pass}"
apiKeyyy = config['capKey']
payload = {
"clientKey": apiKeyyy,
"task": {
"type": "FunCaptchaTask",
"websiteURL": "https://signup.live.com",
# "funcaptchaApiJSSubdomain": "optional-api-subdomain-here.arkoselabs.com",
"data": "{\"blob\":\"" + arkoseBlob + "\"}",
"websitePublicKey": "B7D8911C-5CC8-A9A3-35B0-554ACEE604DA",
"proxyType": "http",
"proxyAddress": f"{ip_port.split(':')[0]}",
"proxyPort": int(ip_port.split(':')[1]),
"proxyLogin": f"{user_pass.split(':')[0]}",
"proxyPassword": f"{user_pass.split(':')[1]}",
}
}
result = requests.post("https://api.anti-captcha.com/createTask", json=payload)
# print(result.text)
task_id = result.json()["taskId"]
payload = {"taskId": task_id, "clientKey": apiKeyyy}
while True:
result = requests.post("https://api.anti-captcha.com/getTaskResult", json=payload)
data = result.json()
# print(data)
if data['errorId'] != 0:
return None
elif data["status"] != "ready":
continue
capkey = data["solution"]['token']
return capkey
elif config['solver'] == "2CAPTCHA":
parts = proxy.split('@')
if len(parts) == 2:
user_pass, ip_port = parts
proxy = f"{ip_port}:{user_pass}"
apiKeyyy = config['capKey']
payload = {
"clientKey": apiKeyyy,
"task": {
"type": "FunCaptchaTaskProxyless",
"websiteURL": "https://signup.live.com",
"websitePublicKey": "B7D8911C-5CC8-A9A3-35B0-554ACEE604DA",
"data": "{\"blob\":\"" + arkoseBlob + "\"}",
}
}
result = requests.post("https://api.2captcha.com/createTask", json=payload)
# print(result.text)
task_id = result.json()["taskId"]
payload = {"taskId": task_id, "clientKey": apiKeyyy}
while True:
result = requests.post("https://api.2captcha.com/getTaskResult", json=payload)
data = result.json()
# print(data)
if data['errorId'] != 0:
return None
elif data["status"] != "ready":
continue
capkey = data["solution"]['token']
return capkey
@cimuxy I still use CAPBYPASS sometime it solver very fast but most of time it failed to solver the task, I still find other provider, does 2Captcha and AntiCaptcha work well? even if take 2 minutes to solver but if success rate is high you can spawn script to 10 thread to run in parallel
@JackSparrowf9 @cimuxy To fix issues with CAPBYPASS please open main.py, search for 125.0.0.0 and replace all occurences with 128.0.0.0. When using cap solvers always keep your user agents up-to-date!
Also consider increasing the timeout at the bottom of main.py, sometimes CAPBYPASS is just slow.
It's work like a charm.
Can you add more function to setting up OAuth2 for reading email with OAuth2 Imap