我正在尝试从以下 html 获取项目的过程。
这是src
<span class="crwActualPrice">
<span style="text-decoration: inherit; white-space: nowrap;">
<span class="currencyINR">
</span>
<span class="currencyINRFallback" style="display:none">
Rs.
</span>
13,990.00
</span>
</span>
这是我尝试过的代码
dprice = each_result.find_all("span", class_="crwActualPrice")
for each_price in dprice:
money_str = each_price.string
print(money_str)
我想在money_str使用 python 汤时获得 13990 的值。