The following command:
volume = soup.findAll("span", {"id": "volume"})[0]
gives:
<span class="gr_text1" id="volume">16,103.3</span>
when I issue a print(volume).
How do I get just the number?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…