title: scrape data from a table that has a "show all" button
body: <p>I am trying to scrape &quot;ALL EQUITIES&quot; table in the following link which has a show all button</p>
  <p><a href="https://www.trading212.com/en/Trade-Equities" rel="nofollow noreferrer">https://www.trading212.com/en/Trade-Equities</a></p>
  <p>I should be able to get the expanded table, not just some of the rows before the table is expanded.</p>
  <p>here is my code</p>
  <pre><code>import requests
  import pandas as pd
  from bs4 import BeautifulSoup as bs
  
  header = {&quot;User-Agent&quot; : &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like 
  Gecko) Chrome/88.0.4324.150 Safari/537.36&quot;}
  
  url = 'https://www.trading212.com/en/Trade-Equities'
  
  r = requests.get(url, headers = header)
  
  soup = bs(r.content, 'html.parser')
  
  all_equities = soup.find('table' , class_ = 'I cant find the name of the class')
  print(all_equities)
  </code></pre>