I want to download all links/ titles of papers from the web using rvest. I used the following script but it is not the list is zero. Any suggestions?
library(rvest)
1. Download the HTML and turn it into an XML file with read_html()
Papers <- read_html("https://papers.ssrn.com/sol3/JELJOUR_Results.cfm?npage=1&form_name=journalBrowse&journal_id=1475407&Network=no&lim=false")
2. Extract specific nodes with html_nodes()
Titles <- html_nodes(Papers, "span.optClickTitle")
You are close, try
.optClickTitle
instead ofspan.optClickTitle
:Created on 2018-09-28 by the reprex package (v0.2.1)