我试图用漂亮的soup4解析html,但无法获得数据
<div class="inside">
<a href="http://www.linkar.com">
<b>A Show</b><br/>
<img alt="A Show" height="83" src="http://www.linkar.com/679.jpg"/>
</a>
<br/>Film : Gladiator
<br/>Location : example street, London, UK
<br/>Phone : +83817447184<br/>
</div>
我可以使用
^{pr2}$如何分别获取字符串电影、位置和电话的值?在
您可以将
BS
与re
一起使用。在例如:
输出:
^{pr2}$或
相关问题 更多 >
编程相关推荐