Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
Go to file
Leon 9f727e1f46
Update __init__.py
2019-12-22 14:27:20 +01:00
undetected_chromedriver Update __init__.py 2019-12-22 14:27:20 +01:00
.gitignore Initial commit 2019-12-22 13:44:18 +01:00
LICENSE Initial commit 2019-12-22 13:44:18 +01:00
README.md Update README.md 2019-12-22 14:19:55 +01:00
setup.py Update setup.py 2019-12-22 13:53:06 +01:00

README.md

undetected_chromedriver

BY ULTRAFUNKAMSTERDAM (https://github.com/ultrafunkamsterdam)

Optimized Selenium Chromedriver patch which does not trigger anti-bot services like Distill Network. Automatically downloads the driver binary and patches it. Not tested on Chrome higher than 79!

USAGE

from undetected_chromedriver import Chrome, ChromeOptions
driver = Chrome()
driver.get('https://distilnetworks.com')

patches selenium module

Needs to be done before importing from selenium package

import undetected_chromedriver
undetected_chromedriver.install()
from selenium.webdriver import Chrome
driver = Chrome()
driver.get('https://distilnetworks.com')

the customized way

import undetected_chromedriver

#specify chromedriver version to download and patch
undetected_chromedriver.TARGET_VERSION = 78

# or specify your own chromedriver binary to patch
undetected_chromedriver.install(
    executable_path='c:/users/user1/chromedriver.exe',
    target_version=78
)
from selenium.webdriver import Chrome, ChromeOptions
opts = ChromeOptions()
opts.add_argument(f'--proxy-server=socks5://127.0.0.1:9050')
driver = Chrome(options=opts)
driver.get('https://distilnetworks.com')

4- a combination of function(s) from this module :)