Skip to content

Commit

Permalink
Added actual version for geo.captcha-delivery.com bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
billgates007 committed Sep 27, 2022
1 parent 034410a commit 31c9ef9
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ __Requirements:__

__List of solutions:__
- [Bypass](https://github.com/MoterHaker/bypass-captcha-examples/blob/main/cloudflare.js) CloudFlare with hCaptcha using Anti-Captcha browser plugin.
- [Bypass](https://github.com/MoterHaker/bypass-captcha-examples/blob/main/geo.captcha.delivery.com.js) geo.captcha-delivery.com protection by Data Dome using [AntiGate template](https://anti-captcha.com/apidoc/task-types/AntiGateTask) "Anti-bot screen bypass".
- [Bypass](https://github.com/MoterHaker/bypass-captcha-examples/blob/main/geo.captcha.delivery.py) geo.captcha-delivery.com protection by Data Dome using [AntiGate template](https://anti-captcha.com/apidoc/task-types/AntiGateTask) "Anti-bot screen bypass".
- [Bypass](https://github.com/MoterHaker/bypass-captcha-examples/blob/main/store.steam-powered.com.js) store.steam-powered.com/join Recaptcha Enterprise V2.
- [Bypass](https://github.com/MoterHaker/bypass-captcha-examples/blob/main/netflix.js) netflix.com Enterprise Recaptcha V3 at [sign-in](https://www.netflix.com/login) page.
- [Bypass](https://github.com/MoterHaker/bypass-captcha-examples/blob/main/adobe.js) adobe.com Enterprise Recaptcha V3 at [sign-in](https://auth.services.adobe.com/en_US/index.html) page.
Expand All @@ -21,4 +21,6 @@ __List of solutions:__

__Requests__

Post your captcha bypass requests in issues section
Post your captcha bypass requests in issues section

captcha-solving captcha-breaking captcha-solver 2captcha deathbycaptcha anti-captcha captcha-bypass anticaptcha captcha-recognition bypasscaptcha bypass-recaptcha-v2 bypass-invisible-recaptcha captcha-services-for-recaptcha-v2 recaptcha-v2-captcha-solver google-recaptcha-solver recaptcha-solver-python recaptcha-bypass-script recaptcha-solver bypass-on-captcha-recaptcha hcaptcha-solver
58 changes: 58 additions & 0 deletions geo.captcha-delivery.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# IMPORTANT
# make sure to have "anticaptchaofficial" package version minimum 1.0.44
# pip install 'anticaptchaofficial>=1.0.44'
#
# Proxy usage is required. Each datadome cookie is associated with a proxy and user-agent.
#

from anticaptchaofficial.antigatetask import *

proxy_host = "11.11.11.11"
proxy_port = 1234
proxy_login = "login"
proxy_pass = "password"

proxies = {
'https': f"http://{proxy_login}:{proxy_pass}@{proxy_host}:{proxy_port}",
'http': f"http://{proxy_login}:{proxy_pass}@{proxy_host}:{proxy_port}"
}

solver = antigateTask()
solver.set_verbose(1)
solver.set_key("API_KEY_HERE")
solver.set_website_url("https://www.idealista.pt/en/comprar-empreendimentos/viseu-distrito/pagina-1")
solver.set_template_name("Anti-bot screen bypass")
solver.set_proxy_address(proxy_host)
solver.set_proxy_port(proxy_port)
solver.set_proxy_login(proxy_login)
solver.set_proxy_password(proxy_pass)
solver.set_variables({
"css_selector": "iframe[src*='geo.captcha-delivery.com']"
})
solver.set_domains_of_interest(['www.idealista.pt', 'idealista.pt'])


result = solver.solve_and_return_solution()
if result != 0:

fingerprint, domainsOfInterest = result["fingerprint"], result['domainsOfInterest']

if 'idealista.pt' not in domainsOfInterest:
print("could not find domain data in 'domainsOfInterest'")
exit(1)

print("data dome cookie: ", domainsOfInterest['idealista.pt']['cookies']['datadome'])

r = requests.get('https://www.idealista.pt/en/comprar-empreendimentos/viseu-distrito/pagina-1', proxies=proxies, headers={
'User-Agent': fingerprint['self.navigator.userAgent'],
'Cookie': 'datadome=' + domainsOfInterest['idealista.pt']['cookies']['datadome'],
'Accept-Encoding': 'deflate',
'Accept': 'text/html',
'accept-language': 'en'
})
print(r.text)


else:
print("task finished with error "+solver.error_code)

0 comments on commit 31c9ef9

Please sign in to comment.