Parse text that is constantly updated using BeautifulSoup?
<p>On: <a href="http://arithmetic.zetamac.com/game?key=96823302" rel="nofollow">http://arithmetic.zetamac.com/game?key=96823302</a>, we need to take the problem out of the <code>problem</code> tag in the <code>&lt;span&gt;</code> class.</p>

<p>It is constantly updated, how can I retrieve the data out each time using BeautifulSoup/Python?</p>

<p>I know it will be like:</p>

<pre><code>from bs4 import BeautifulSoup
soup = BeautifulSoup(requests.get("http://arithmetic.zetamac.com/game?key=96823302").content)
problem = soup.find("span",class_="problem") #Initial finding

a = True
while(a == True):
  print problem
  problem = soup.find("span",class_="problem")
</code></pre>

<p>//Then it will re-loop</p>

<p>But this only prints out: <code>&lt;span class="problem"&gt;&lt;/span&gt;</code> not the inside like <code>2 + 2</code> or <code>2 x 2</code></p>