健康一贴灵,专注医药行业管理信息化
摘要: 近日,用python 爬取某网站,登录成功后,需点击下链接,执行一个JS函数,用来SSO跳转,刚开始一直出错: 网页内容: 程序代码: ssobt = browser.find_element_by_class('******') ssobt.click() 但一直提示错误为: <a href="j 阅读全文
posted @ 2020-03-02 14:05 一贴灵 阅读(1250) 评论(0) 推荐(0)
摘要: 在firefox上使用代理访问相关页面 1 from selenium import webdriver 2 from selenium.webdriver.firefox.options import Options 3 4 profile = webdriver.FirefoxProfile() 阅读全文
posted @ 2020-03-02 11:51 一贴灵 阅读(30) 评论(0) 推荐(0)
学以致用,效率第一