phantomjs 无法打开https网站解决方案

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

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

  即可

posted on 2018-03-15 17:09  shaomine  阅读(2158)  评论(0编辑  收藏  举报