我想在Python中使用BeautifulSoup来获取div class=size和'ID'值。在
<div class="size ">
<a class="selectVar" id="23333" data="40593232" data-price="13000,00 €" data-tprice="" data-sh="107-42" data-size-original="92" data-eu="92" data-size-uk="5" data-size-us="5.5" data-size-cm="26.5" data-branch-2="1" data-branch-3="1" data-branch-4="1" data-branch-5="1" data-branch-6="1" data-branch-on="1">
92
</a>
</div>
我尝试了以下方法,但没有成功:
^{pr2}$
你在正确的轨道上。
{cd1>方法的属性
相关问题 更多 >
编程相关推荐