我有一个网页,该网页的计时器从2:35到0:0 我想使用BeautifulSoup提取计时器当前值
标记:
<div class="c_draw_w" ng-click="globalsicBoCtlr.sicBoDrawsFun(globalsicBoCtlr.sicBoDraws[0])">
<span>
<span class="ng-binding">#338</span>
</span>
<span class="ng-binding">4:54PM</span>
<span>
<span class="ng-binding">01:33</span>
</span>
</div>
我正在使用以下代码提取时间:
time_left = page_soup.find('div',{'class':'c_draw_w'}).findChildren('span', recursive=False)[2].text
print(time_left)
我得到的结果是:
{{globalsicBoCtlr.RemMinutes}}:{{globalsicBoCtlr.RemSeconds}}
如何获取UI上显示的当前时间?