I am trying to use selenium chromedriver in python for the website www.mouser.co.uk. However, it is detected as bot from the first shot .
Does any one has an explanation for this ?. hereafter the code i am using :
options = Options()
options.add_argument("--start-maximized")
browser = webdriver.Chrome('chromedriver.exe',chrome_options=options)
wait = WebDriverWait(browser, 30)
browser.get('https://www.mouser.co.uk')
Best Answer
I have tried to access the url
https://www.mouser.co.uk/
with certain chrome.options but did get detected and was redirected to Pardon Our Interruption page.Code Block:
Now on inspecting the Pardon Our Interruption page you will find the
<body>
tag contains:dist-GlobalHeader
dist-PageWrap
Which is a clear indication that the website is protected by Bot Management service provider Distil Networks and the navigation by ChromeDriver gets detected and subsequently blocked.
Distil
As per the article There Really Is Something About Distil.it...:
Further,
Reference
You can find a couple of detailed discussion in: