Rvest: Scrape multiple URLs
问题 I am trying to scrape some IMDB data looping through a list of URLs. Unfortunately my output isn't exactly what I hoped for, never mind storing it in a dataframe. I get URLs with library(rvest) topmovies <- read_html("http://www.imdb.com/chart/top") links <- top250 %>% html_nodes(".titleColumn") %>% html_nodes("a") %>% html_attr("href") links_full <- paste("http://imdb.com",links,sep="") links_full_test <- links_full[1:10] and then I could get content with lapply(links_full_test, . %>% read