ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.75k stars 1.15k forks source link

Adding a new request header #460

Open lounah opened 2 years ago

lounah commented 2 years ago

I know, this issue is a duplicate of #413, but the solution that was proposed there was only about the user-agent. My question is, can I add some kind of custom header to the request?

juhacz commented 2 years ago

Yes, via selenium-wire and interceptors https://pypi.org/project/selenium-wire/#intercepting-requests-and-responses Good luck.