title: Webscraping "How did you contribute to OpenStreetMap" with rvest
body: <p>I would like to scrape all the information from the &quot;How did you contribute to OpenStreetMap?&quot; (<a href="https://hdyc.neis-one.org/" rel="nofollow noreferrer">https://hdyc.neis-one.org/</a>). It is necessary to login to OSM in order to gain a user profile.</p>
  <p>Since there are quite a lot of profiles that need to be scraped, I want to automatically scrape the list using the rvest package (<a href="https://rvest.tidyverse.org/" rel="nofollow noreferrer">https://rvest.tidyverse.org/</a>).</p>
  <p>So far I attempted to do this:</p>
  <pre class="lang-r prettyprint-override"><code>&gt; library(rvest)
  
  &gt; url &lt;- &quot;https://hdyc.neis-one.org/?mrsensible&quot;
  &gt; pgsession &lt;- session(URL)
  
  &gt; pgsession
  &lt;session&gt; https://hdyc.neis-one.org/?mrsensible
    Status: 200
    Type:   text/html
    Size:   4245
  </code></pre>
  <p>When I tried to read the information of my OSM record with <code>read_html(url)</code>, here is what it turns out:</p>
  <pre><code>&gt; read_html(url)
  
  {html_document}
  &lt;html&gt;
  [1] &lt;head&gt;\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;\n&lt;meta ...
  [2] &lt;body onload=&quot;init();&quot;&gt;\n        &lt;div class=&quot;copyright&quot;&gt;Copyright © &lt;a target=&quot;_bl ...
  </code></pre>
  <p>So it doesn't really capture the information.</p>
  <p>Would it be possible to scrape the data using <code>rvest</code> codes?
  Many thanks in advance!</p>