会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chimmu
博客园
首页
新随笔
联系
订阅
管理
2016年3月30日
beautifulsoup查找标签
摘要: soup = BeautifulSoup('demo.html', 'html.parser') soup.find_all('p', attrs={'class':'button', 'color':'black'} 若要找某个属性却不知道属性值的,则可以这样写 soup.find_all('...
阅读全文
posted @ 2016-03-30 22:48 chimmu
阅读(222)
评论(0)
推荐(0)