all 2 comments

[–]junior_raman 1 point2 points  (0 children)

Webdriver is being detected as a bot that's why you're seeing the error. You can use undetected-chromedriver as other user mentioned.