middlewares.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:Spider 作者: poluo 项目源码 文件源码
def __init__(self):
        self.cookies = None
        path = "C:\Program Files (x86)\Google\Chrome\chromedriver.exe"
        chrome_options = webdriver.ChromeOptions()
        chrome_options.add_argument("--incognito")
        self.driver = webdriver.Chrome(service_args=['--load-images=no'], executable_path=path,
                                       chrome_options=chrome_options)
        self.action = ActionChains(self.driver)
        self.retry_login()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号