摘要: 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)