【发布时间】:2019-05-07 14:01:55
【问题描述】:
大约一个月前,我可以使用下面的代码访问此 URL 指向的 JSON 文件。现在我收到以下错误消息:
library(RCurl)
url <- "https://petition.parliament.uk/archived/petitions/169973.json"
web <- getURL(url)
Error in function (type, msg, asError = TRUE) :
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
有没有办法重新启用这种访问?这是相关的 sessionInfo()。谢谢。
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
other attached packages:
[1] RCurl_1.95-4.12 bitops_1.0-6
【问题讨论】:
标签: r json web-scraping