mardi 1 décembre 2020

Webscrapping in R not showing nodes

I'm trying to get a list of all the articles and prices from this website using rvest. It is a fairly simple task, but I keep getting an empty list.

So far I have used the code bellow with no avail.

Is there something that I'm missing or doing wrong?

url <- c("https://www.pedidosya.com.do/restaurantes/santo-domingo-d-n/supermercados-bravo-menu")

articulo <- read_html(url) %>% 
  html_nodes('.shelves_product_name') %>% 
  html_attrs()



Aucun commentaire:

Enregistrer un commentaire