BeautifulSoup简明教程
from bs4 import BeautifulSoup
soup = BeautifulSoup(open('soup_text.html',encoding='utf8'),'lxml')
soup.label 找的是页面中第一个label
soup.a
<a href="http://www.song.com/" target="_self" title="赵匡胤">宋...
原创
2019-05-07 00:19:26 ·
332 阅读 ·
0 评论