title: Python webscraping doesn't produce raw HTML
body: <p>I am working on scraping data from a table.</p>
  
  <p>With the following code, instead of the raw HTML values being fetched, I am given the variable, so instead of getting the value in the table, I get <code>{value}</code>,</p>
  
  <p>How can I get the raw HTML rather than the variable name?</p>
  
  <p>Thanks</p>
  
  <pre><code>my_session = requests.session()
  for_cookies = my_session.get("https://uk.investing.com")
  cookies = for_cookies.cookies
  headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0'}
  my_url = 'https://uk.investing.com/stock-screener/?sp=country::4|sector::a|industry::80|equityType::a|exchange::3%3Ceq_market_cap;1'
  
  response = my_session.get(my_url, headers=headers, cookies=cookies)
  
  soup = BeautifulSoup(response.content, "lxml")
  print(soup.prettify()) # print the parsed data of html
  </code></pre>