I am using rvest package, and belowing are the codes:
library(rvest)
url <- 'https://www.zhihu.com/people/excited-vczh'
webpage <- read_html(url)
profile_data <- html_nodes(webpage, '.Profile-sideColumnItemLink')
profile_data_text <- html_text(profile_data)
The codes read one single url and parse. What if I have a charactor vector which storing multiple urls. How should I put these urls to the above codes? For instance, urlist is a charactor storing 1000 urls. How can I change my codes to scrapy all specific content in urlist?