我目前正在尝试建立一个小型网络爬虫。
我正在使用以下代码来抓取网站:
webpage <- "https://www.whisky.de/shop/Schottland/Single-Malt/Macallan-Triple-Cask-15-Jahre.html"
content <- read_html(webpage)
但是,当我使用read_html命令运行第二行时,出现以下错误消息:
open.connection(x,“ rb”)中的错误:SSL证书问题:证书已过期
你们有人知道这是哪里来的吗?几天前使用它时,它没有任何问题。
我正在使用Mac OS X 10.15.5,RStudio(1.2.5033)我还安装了库“ rvest”
非常感谢您的提前帮助!
webpage <- "https://www.whisky.de/shop/Schottland/Single-Malt/Macallan-Triple-Cask-15-Jahre.html"
content <- read_html(GET(webpage))
我希望这会有所帮助!