Website blocking Selenium : is there a way to bypass?

后端 未结 2 1138
暖寄归人
暖寄归人 2021-01-29 13:11

This webpage opens fine manually, but directly goes to a \"maintenance\" error message when using Selenium !

from selenium import webdriver
driver = webdriver.Ch         


        
2条回答
  •  我在风中等你
    2021-01-29 13:49

    Sometimes the websites checks your user-agent. Maybe you can change that.

    Otherwise, I would recommend using Auto-It to do the job.

    You could also try loading in your personal Chrome profile into Selenium.

提交回复
热议问题