weixin_41098099
weixin_41098099
2020-04-22 23:08

关于python爬取获取标签内的值

  • python
<div class="price_d">
                <p class="t">
                    <span id="dd-price-text">当当价</span>
                    <a class="price_down_remind score write_comment" href="javascript:void(0);" id="price_down">降价通知</a>
                </p>
                <p id="dd-price">
                    <span class="yen">¥</span>89.00                
                                </p>
</div>

请问第二个P标签里面的89怎么通过python取出来?

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答