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

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

  即可

相关文章:

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