title: How to scrape real time streaming data with Python?
body: <p>I was trying to scrape the number of flights for this webpage <a href="https://www.flightradar24.com/56.16,-49.51" rel="noreferrer">https://www.flightradar24.com/56.16,-49.51</a></p>
  
  <p>The number is highlighted in the picture below:
  <a href="https://i.stack.imgur.com/Zvsmf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Zvsmf.png" alt="enter image description here"></a></p>
  
  <p>The number is updated every 8 seconds.</p>
  
  <p>This is what I tried with BeautifulSoup:</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  import time
  
  r=requests.get("https://www.flightradar24.com/56.16,-49.51")
  c=r.content
  soup=BeautifulSoup(c,"html.parser")
  value=soup.find_all("span",{"class":"choiceValue"})
  print(value)
  </code></pre>
  
  <p>But that always returns 0:</p>
  
  <pre><code>[&lt;span class="choiceValue" id="menuPlanesValue"&gt;0&lt;/span&gt;]
  </code></pre>
  
  <p>View source also shows 0, so I understand why BeautifulSoup returns 0 too.</p>
  
  <p>Anyone know any other method to get the current value?</p>