title: Get comments from XVIDEOS using rvest [R]
body: <p>I am a datajournalist and I am trying to scrape all the comments of Xvideos, so it gets easier to find victims of leaked personal videos. I have the following code in R, but I can't go on, because I don't know how to click the button "comment" or how to change the url to show the comments by default. Could you give a hand? Thank you.</p>
  
  <pre><code>library(tidyverse)
  library(rvest)
  
  url &lt;- "https://www.xvideos.com/new/1"
  
  links &lt;- url %&gt;%
    read_html() %&gt;%
    html_nodes("a") %&gt;%
    html_attr("href") %&gt;%
    as.data.frame() %&gt;%
    `colnames&lt;-`("link") %&gt;%
    filter(str_detect(link, "/video"))
  </code></pre>