最近测试原来的爬虫程序,发现phantomjs 无法打开https网站了,经过网上查下,发现需要在phantomjs定义的加以下参数
self.driver = webdriver.PhantomJS(service_args=['--ssl-protocol=any'])
即可
admin2025/5/2 17:14:51【news】
简介邯郸做wap网站建设,台州做优化,环企优站网站建设,汝州市住房和城乡建设局网站最近测试原来的爬虫程序,发现phantomjs 无法打开https网站了,经过网上查下,发现需要在phantomjs定义的加以下参数 self.driver webdriver.PhantomJS(service_args[--ssl-protocolany]) 即可转载于:https://www.cnblogs.com/shaosks/p/857468…
最近测试原来的爬虫程序,发现phantomjs 无法打开https网站了,经过网上查下,发现需要在phantomjs定义的加以下参数
self.driver = webdriver.PhantomJS(service_args=['--ssl-protocol=any'])
即可
转载于:https://www.cnblogs.com/shaosks/p/8574684.html