title: Extracting repeated class with rvest html_elements in R
body: <p>how are you? I am trying to extract some info about this sportbetting webpage using rvest. I asked a related question a few days ago and i get almost 100% of my goals. So far , and thanks to you, extracted succesfully the title, the score and the time of the matches being played using the next code:</p>
  <pre><code>library(rvest)
  library(tidyverse)
  
  page &lt;- &quot;https://www.supermatch.com.uy/live_recargar_menu/&quot; %&gt;%
    read_html()
  
  data=data.frame(
    Titulo = page %&gt;%
      html_elements(&quot;.titulo&quot;) %&gt;%
      html_text(),
    Marcador = page %&gt;%
      html_elements(&quot;.marcador&quot;) %&gt;%
      html_text(), 
    Tiempo = page %&gt;%
      html_elements(&quot;.marcador+ span&quot;) %&gt;%
      html_text() %&gt;% 
      str_squish()
    
  ) 
  </code></pre>
  <p>Now i want to get repeated values, for example if the country of the match is &quot;Brasil&quot; I want to put it in the data frame that the country is Brasil for every match in that category. So far i only managed to extract all the countries but individually. Same applies for sport name and tournament.</p>
  <p>Can you help me with that? Already thanks.</p>