如何获取标签里面的其他信息

是这样的 我以这样方式提取出内容后 有没有不通过正则的方式取出图中的那些字段吗 谢谢解答

img

xpath:https://www.cnblogs.com/mxjhaima/p/13775844.html
bs4:http://c.biancheng.net/python_spider/bs4.html

select后加.text()

print(a)

改为

print(a["title"])