最近测试原来的爬虫程序,发现phantomjs 无法打开https网站了,经过网上查下,发现需要在phantomjs定义的加以下参数

  self.driver = webdriver.PhantomJS(service_args=['--ssl-protocol=any'])

  即可

相关文章:

  • 2021-12-05
  • 2021-12-30
  • 2021-08-26
  • 2021-06-24
  • 2021-12-17
  • 2022-12-23
  • 2021-04-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-01-02
  • 2021-12-14
  • 2022-03-08
相关资源
相似解决方案