是这样的 我以这样方式提取出内容后 有没有不通过正则的方式取出图中的那些字段吗 谢谢解答
xpath:https://www.cnblogs.com/mxjhaima/p/13775844.htmlbs4:http://c.biancheng.net/python_spider/bs4.html
select后加.text()
print(a)
改为
print(a["title"])