title: BeautifulSoup & requests_html unable to find element
body: <p>I need to scrape information from this page: <a href="https://professionals.tarkett.co.uk/en_GB/collection-C001030-arcade/arcade-b023-2128" rel="nofollow noreferrer">https://professionals.tarkett.co.uk/en_GB/collection-C001030-arcade/arcade-b023-2128</a>.</p>
  <p>There are 6000+ of those pages I need to scrape. I really don't want to use selenium as it is too slow for this type of job.</p>
  <p>The information I am trying to scrape is the 'Document' section down the bottom page, just above the 'Case studies' and 'About' section. There is a pdf DataSheet and several other key bits on information in that area I need to scrape but am finding absolutely impossible.</p>
  <p>I have tried everything at this point, requests, dryscrape, requests_html etc. and nothing works.</p>
  <p>It seems the information I need is being rendered by JavaScript. I have tried using libraries that supposedly work for these type of issues but in my case it's not working.</p>
  <p>Here's snippet of code to show:</p>
  <pre><code>from requests_html import HTMLSession
  from bs4 import BeautifulSoup as bs
  session = HTMLSession()
  resp = session.get(&quot;https://professionals.tarkett.co.uk/en_GB/collection-C001030-arcade/arcade-b023-2128&quot;, headers=headers) # tried without headers too
  resp.html.render()
  soup = bs(resp.html.html, &quot;html.parser&quot;)
  soup.find(&quot;section&quot;, {&quot;id&quot; : &quot;collection-documentation&quot;})
  </code></pre>
  <p>Output:</p>
  <pre><code>&lt;section data-v-6f916884=&quot;&quot; data-v-aed8933c=&quot;&quot; id=&quot;collection-documentation&quot;&gt;&lt;!-- --&gt;&lt;/section&gt;
  </code></pre>
  <p>No matter what I try, the information just isn't there. This is one element specifically that I am trying to get:</p>
  <p><code>&lt;a data-v-5a3c0164=&quot;&quot; href=&quot;https://media.tarkett-image.com/docs/DS_INT_Arcade.pdf&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; class=&quot;basic-clickable tksb-secondary-link-with-large-icon&quot; is-white-icon=&quot;true&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;47&quot; height=&quot;47&quot; viewBox=&quot;0 0 47 47&quot; class=&quot;tksb-secondary-link-with-large-icon__icon&quot;&gt;&lt;g transform=&quot;translate(-1180 -560)&quot;&gt;&lt;path d=&quot;M1203.5,560a23.5,23.5,0,1,1-23.5,23.5A23.473,23.473,0,0,1,1203.5,560Z&quot; class=&quot;download-icon__background&quot;&gt;&lt;/path&gt;&lt;/g&gt; &lt;g&gt;&lt;path d=&quot;M29.5,22.2l-5.1,5.5V10.3H22.6V27.7l-5.1-5.5-1.4,1.2,7.4,7.9,7.4-7.9Z&quot; class=&quot;download-icon__arrow-fill&quot;&gt;&lt;/path&gt; &lt;g&gt;&lt;path d=&quot;M31.6,37.6H15.4V31.3h1.8v4.5H29.8V31.3h1.8Z&quot; class=&quot;download-icon__arrow-fill&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt; &lt;span class=&quot;tksb-secondary-link-with-large-icon__text-container&quot;&gt;&lt;span class=&quot;tksb-secondary-link-with-large-icon__label&quot;&gt;Datasheet&lt;/span&gt; &lt;span class=&quot;tksb-secondary-link-with-large-icon__description&quot;&gt;PDF&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;</code></p>
  <hr />
  <p>The best I've come up with so far is finding this URL from using Chrome Dev tools and inspecting the network tab to see what happens when I scroll into view of the data I want; <code>https://professionals.tarkett.co.uk/en_GB/collection-product-formats-json/fb02/C001030/b023-2128?fields[]=sku_design&amp;fields[]=sku_design_key&amp;fields[]=sku_thumbnail&amp;fields[]=sku_hex_color_code&amp;fields[]=sku_color_family&amp;fields[]=sku_delivery_sla&amp;fields[]=sku_is_new&amp;fields[]=sku_part_number&amp;fields[]=sku_sap_number&amp;fields[]=sku_id&amp;fields[]=sku_format_type&amp;fields[]=sku_format_shape&amp;fields[]=sku_format&amp;fields[]=sku_backing&amp;fields[]=sku_items_per_box&amp;fields[]=sku_surface_per_box&amp;fields[]=sku_box_per_pallet&amp;fields[]=sku_packing_unit_code&amp;fields[]=sku_collection_names&amp;fields[]=sku_category_b2b_names&amp;fields[]=sku_sap_sales_org&amp;fields[]=sku_minimum_order_qty&amp;fields[]=sku_base_unit_sap&amp;fields[]=sku_selling_units&amp;fields[]=sku_pim_prices&amp;fields[]=sku_retailers_prices&amp;fields[]=sku_retailers_prices_unit&amp;fields[]=sku_installation_method</code>.</p>
  <p>Now I could easily scrape the information I want from here (which at this rate I will probably have to) as it does have key information in there I need that isn't being loaded from HTML. So all I'll have to do is extract each products ID code and modify each URL to do it. But even then, the ONLY but of information this still doesn't have is the DataSheet URL. I thought I had figured it all out when I discovered this but no, this still leaves me stuck in the mud and I am sinking fast trying to find any solution other than selenium to extracting this one bit of info in a terminal using requests and libraries alike. I'm implementing threading as well which is why it's really important for me to be able to do this without loading up a browser like selenium.</p>
  <p>Is it even possible at this point? I'd really appreciate someone who actually knows what they're talking unlike me, to take a look at the page, tell me what I'm missing or point me in the right direction. I need this finished by today and I've been pressed on this for 2 days now and I am starting to give up.</p>