curl-impersonatevsundetected-chromedriver
Curl-impersonate is a special build of libcurl and cURL HTTP client that impersonates the four major browsers:
- Google Chrome
- Microsoft Edge
- Safari
- Firefox
Curl-impersonate achieves this by patching TLS and HTTP fingerprints to be identical to that of one of these real browsers.
Unlike other HTTP clients curl-impersonate can bypass TSL and HTTP fingerprinting and detection techniques though it does not implement anything for Javascript fingerprint or bypass.
Undetected chromedriver is custom open source headless browser driver based on Selenium. It extends Selenium headless browsers to be more ressistant to fingeprinting and identification techniquest like: - Cloudflare - Datadome - Imperva And other similar WAF anti-bot systems.
Highlights
bypasshttp2tls-fingerprinthttp-fingerprintlow-level
stealthseleniumheadless-browser
Example Use
curl-impersonate installs itself under `curl_` terminal commands like `curl_chrome116`:
```shell
$ curl_chrome116 https://www.wikipedia.org
```
To use it in HTTP client libraries that use `libcurl` replace curl path with one of these.
To use it in python directly see curl-cffi Python package
```python
# It works the same as Selenium just with a different import.
import undetected_chromedriver as uc
driver = uc.Chrome(headless=True, use_subprocess=False)
driver.get('https://nowsecure.nl')
driver.save_screenshot('screenshot.png')
driver.close()
```
Alternatives / Similar
camoufox
new
nodriver
new
pydoll
new
rod
new
browser-use
new
primp
new
stagehand
new
puppeteer-extra
new
skyvern
new
botasaurus
new