I am trying to use RVEST to extract 50 titles in Bing News main page. But I don't know what's happening with my code, it only displays 6 titles. I scrolled down to load more titles, but it still doesn't work. Here are my code:
install.packages("rvest") library(rvest)
covid_wbpg <- read_html("https://ift.tt/3itgwpn)
covid_wbpg
class(covid_wbpg)
covid_19 <- html_nodes(covid_wbpg, ".title") %>% html_text()
head(covid_19)
Aucun commentaire:
Enregistrer un commentaire