我正在尝试使用html_session()
软件包的rvest
功能抓取一个网站。当我尝试访问该网站(本地代理身份验证网站)时,出现此错误:
Error in curl::curl_fetch_memory(url, handle = handle) :
schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.
可以正常出现这样的错误消息,因为使用标准浏览器(例如Chrome或Firefox)访问网站时会出现证书问题。但是,如何解决这种情况并继续使用rvest
浏览?
(也许与此有关的事情可能会帮助您:"The certificate chain was issued by an authority that is not trusted" when connecting DB in VM Role from Azure website)。
谢谢!