摘要: 1.导入beautifulsoupfrom BeautifulSoup import BeautifulSoup 2.实例化一个soup对象html=""soup = BeautifulSoup(html)html的字符串可以通过打开本地文件或者抓取网络的html来得到测试用的html是:3.bea... 阅读全文
posted @ 2014-08-05 17:59 Xjng 阅读(849) 评论(0) 推荐(0) 编辑