i got a little problem with a website i want to automate the connection to.
I'm using python and selenium webdriver to try to connect to this site but can't achieve to finish it.
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument("start-maximized")
options.add_experimental_option("excludeSwitches", ["enable-automation"])
options.add_experimental_option('useAutomationExtension', False)
options.add_argument("--disable-blink-features")
options.add_argument("--disable-blink-features=AutomationControlled")
driver = webdriver.Chrome(options=options, executable_path=r'path\to\chromedriver.exe)
driver.get('https://www.zalando.com')
I already searched all around the internet to find a solution to my problem, but it looks like the site i'm trying to connect detects that i'm using webdriver and blocks me. Whenever i try to connect via my normal browser, everything works fine but with selenium i got an error when i press the connection button.
"An error has occurred. Do we start again later?"
I tried to use proxies but i'm not sure that it is the solution... I also tried the solutions proposed here :Selenium webdriver: Modifying navigator.webdriver flag to prevent selenium detection But nothing looks like to work. The site i'm trying to connect to uses Akamai by the way.
Has anyone any solution ? Thanks for your time.
EDIT
I used right proxies and it's now working fine !