@enmanuel wrote:
Hello I am going through the beginning steps of web scraping. I am getting an error at the read_html() function. Can some please help me? I have search google but unable to find a solution. Here is the error: Error in open.connection(x, “rb”) :
Peer certificate cannot be authenticated with given CA certificatesand below is the packages I am using.
library(httr)
library(rvest)
library(xlm2)
Error in library(xlm2) : there is no package called ‘xlm2’set_config(config(ssl_verifypeer=0L))
url = “http://www.imdb.com/search/title?count=100&release_date=2016,2016&title_type=feature”
webpage = read_html(url)
Error in open.connection(x, “rb”) :
Peer certificate cannot be authenticated with given CA certificates
Posts: 1
Participants: 1