title: scraping an iframe with beautifulsoup and python
body: <p>i am trying to scrape the following page:</p>
  
  <p><a href="https://www.dukascopy.com/swiss/english/marketwatch/sentiment/" rel="nofollow">https://www.dukascopy.com/swiss/english/marketwatch/sentiment/</a></p>
  
  <p>more exactly, the numbers in the chart. for example, the number 74,19 % in the green bar next to the aud/usd text. i have inspected the elements and found out that the tag for this number is span. but the following code does not return this or any other number in the chart:</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  r=requests.get('https://www.dukascopy.com/swiss/english/marketwatch/sentiment/')
  soup = BeautifulSoup(r.content, "html.parser")
  data = soup('span')
  print(data)
  </code></pre>